30 #ifndef CORE_DATATYPES_LEGACY_MESH_H
31 #define CORE_DATATYPES_LEGACY_MESH_H 1
53 virtual Mesh *clone()
const = 0;
78 ALL_ELEMENTS_E = NODES_E | EDGES_E | FACES_E | CELLS_E | ENODES_E | ELEMS_E | DELEMS_E,
80 NODE_NEIGHBORS_E = 1 << 8,
81 ELEM_NEIGHBORS_E = 1 << 9,
82 NEIGHBORS_E = NODE_NEIGHBORS_E | ELEM_NEIGHBORS_E,
83 NODE_LOCATE_E = 1 << 10,
84 ELEM_LOCATE_E = 1 << 11,
85 LOCATE_E = NODE_LOCATE_E | ELEM_LOCATE_E,
87 BOUNDING_BOX_E = 1 << 12,
88 FIND_CLOSEST_NODE_E = 1 << 13,
89 FIND_CLOSEST_ELEM_E = 1 << 14,
90 FIND_CLOSEST_E = FIND_CLOSEST_NODE_E | FIND_CLOSEST_ELEM_E
96 virtual int basis_order();
101 static const std::string type_name(
int n = -1);
108 virtual VMesh* vmesh();
187 template <
class INDEX,
class MESH>
191 typename MESH::Elem::iterator iter, end;
194 std::vector<double> coords(msh.dimensionality());
195 while (iter != end) {
196 if (msh.get_coords(coords, p, *iter))
209 #endif // Datatypes_Mesh_h
Definition: CreateMeshFromNrrd.cc:38
SCISHARE MeshHandle CreateMesh(const std::string &type)
Definition: Mesh.cc:421
std::string type
Definition: Mesh.h:142
Definition: Persistent.h:89
Definition: CreateMeshFromNrrd.cc:38
Definition: TypeDescription.h:45
#define SCISHARE
Definition: share.h:39
virtual bool synchronize(mask_type)
Definition: Mesh.h:93
boost::shared_ptr< Mesh > MeshHandle
Definition: DatatypeFwd.h:67
Definition: Datatype.h:41
SCIRun::mask_type mask_type
Definition: MeshTraits.h:54
Definition: ParallelLinearAlgebraTests.cc:358
mesh_info_type
Definition: Types.h:50
long long size_type
Definition: Types.h:40
static PersistentTypeID type_id
Definition: Mesh.h:100
Definition: MeshTraits.h:51
Definition: CreateMeshFromNrrd.cc:38
Definition: CreateMeshFromNrrd.cc:38
Definition: Persistent.h:64
int n
Definition: eab.py:9
virtual bool unsynchronize(mask_type)
Definition: Mesh.h:94
Definition: CreateMeshFromNrrd.cc:38
boost::shared_ptr< MeshFacade< VMesh > > MeshFacadeHandle
Definition: MeshTraits.h:61
const TypeDescription * get_type_description(Core::Basis::ConstantBasis< T > *)
Definition: Constant.h:209
bool elem_locate(INDEX &elem, MESH &msh, const Core::Geometry::Point &p)
General case locate, search each elem.
Definition: Mesh.h:188