Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
DualTool.cpp File Reference
#include "moab/DualTool.hpp"
#include "moab/Range.hpp"
#include "moab/Core.hpp"
#include "Internals.hpp"
#include "MBTagConventions.hpp"
#include "moab/Skinner.hpp"
#include "moab/MeshTopoUtil.hpp"
#include "AEntityFactory.hpp"
#include "moab/CN.hpp"
#include <string>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <cassert>
+ Include dependency graph for DualTool.cpp:

Go to the source code of this file.

Namespaces

 moab
 Class representing axis-aligned bounding box.
 

Macros

#define RR    if( MB_SUCCESS != result ) return result
 
#define SWAP(a, b)
 
#define TRC
 
#define MIN(a, b)   ( ( a ) < ( b ) ? ( a ) : ( b ) )
 
#define MAX(a, b)   ( ( a ) > ( b ) ? ( a ) : ( b ) )
 
#define KEEP_DELETE(a, b, c, d)
 
#define PRENT(ent)   CN::EntityTypeName( TYPE_FROM_HANDLE( ent ) ) << " " << ID_FROM_HANDLE( ent )
 

Variables

bool moab::debug = false
 
bool moab::debug_ap = false
 

Macro Definition Documentation

◆ KEEP_DELETE

#define KEEP_DELETE (   a,
  b,
  c,
 
)
Value:
{ \
( c ) = MIN( a, b ); \
( d ) = MAX( a, b ); \
}

◆ MAX

#define MAX (   a,
 
)    ( ( a ) > ( b ) ? ( a ) : ( b ) )

◆ MIN

#define MIN (   a,
 
)    ( ( a ) < ( b ) ? ( a ) : ( b ) )

◆ PRENT

#define PRENT (   ent)    CN::EntityTypeName( TYPE_FROM_HANDLE( ent ) ) << " " << ID_FROM_HANDLE( ent )

◆ RR

#define RR    if( MB_SUCCESS != result ) return result

MOAB, a Mesh-Oriented datABase, is a software component for creating, storing and accessing finite element mesh data.

Copyright 2004 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

Definition at line 33 of file DualTool.cpp.

◆ SWAP

#define SWAP (   a,
 
)
Value:
{ \
EntityHandle tmp_ent = a; \
( a ) = b; \
( b ) = tmp_ent; \
}

Definition at line 35 of file DualTool.cpp.

◆ TRC

#define TRC
Value:
if( MB_SUCCESS != tmp_result ) \
{ \
result = tmp_result; \
continue; \
}