#include <mesh0d.hpp>
0D mesh class
Public Member Functions | |
Operator overloads | |
Mesh0D & | operator= (Mesh0D const &m) |
Accessors | |
bool | isEmpty () const |
size_type | numElements () const |
size_type | numLocalFaces () const |
size_type | numLocalVertices () const |
size_type | numFaces () const |
size_type | numPoints () const |
Methods | |
virtual void | clear () |
FEELPP_DEFINE_VISITABLE () | |
![]() | |
virtual return_type | accept (VisitorBase &)=0 |
accept visitor: use S_DEFINE_VISITABLE() to redefine it | |
virtual return_type | accept (VisitorBase *)=0 |
accept visitor: use S_DEFINE_VISITABLE() to redefine it | |
![]() | |
MeshBase (WorldComm const &worldComm=Environment::worldComm()) | |
MeshBase (MeshBase const &) | |
virtual | ~MeshBase () |
MeshBase & | operator= (MeshBase const &m) |
bool | isUpdatedForUse () const |
size_type | numVertices () const |
uint16_type | numberOfPartitions () const |
bool | isPartitioned () const |
Context const & | components () const |
Context & | components () |
virtual double | measure () const =0 |
bool | isParametric () const |
void | setNumberOfPartitions (uint16_type n) |
void | setNumVertices (size_type n) |
void | setComponents (size_type components=MESH_ALL_COMPONENTS) |
void | setParametric (bool x) |
virtual void | updateForUse ()=0 |
virtual void | updateForUse (size_type components) |
virtual void | partition (const uint16_type n_parts)=0 |
WorldComm const & | worldComm () const |
virtual void | setWorldComm (WorldComm const &_worldComm)=0 |
void | setWorldCommMeshBase (WorldComm const &_worldComm) |
mpi::communicator const & | comm () const |
virtual void | meshModified ()=0 |
void | setSubMeshData (smd_ptrtype smd) |
set sub mesh data | |
bool | hasSubMeshData () const |
smd_type::mesh_ptrtype | subMesh () const |
bool | isSubMeshFrom (MeshBase const *m) const |
bool | isSubMeshFrom (boost::shared_ptr< MeshBase > m) const |
bool | isParentMeshOf (boost::shared_ptr< MeshBase > m) const |
template<typename M > | |
bool | isSameMesh (M const *m) const |
template<typename M > | |
bool | isSameMesh (boost::shared_ptr< M > m) const |
template<typename M > | |
bool | isRelatedTo (boost::shared_ptr< M > m) const |
size_type | subMeshToMesh (size_type id) const |
size_type | meshToSubMesh (size_type id) const |
size_type | subMeshToMesh (boost::shared_ptr< MeshBase > m, size_type id) const |
size_type | meshToSubMesh (boost::shared_ptr< MeshBase > m, size_type id) const |
Protected Member Functions | |
void | renumber () |
void | updateEntitiesCoDimensionOnePermutation () |
void | updateEntitiesCoDimensionTwo () |
![]() | |
virtual void | check () const =0 |
virtual void | checkAndFixPermutation ()=0 |
void | setUpdatedForUse (bool u) |
virtual void | updateEntitiesCoDimensionOne ()=0 |
Friends | |
class | boost::serialization::access |
Typedefs | |
typedef VisitableBase::return_type | return_type |
typedef VisitableBase | super_visitable |
typedef MeshBase | super |
typedef Elements< Shape > | super_elements |
typedef super_elements::elements_type | elements_type |
typedef super_elements::element_type | element_type |
typedef super_elements::element_iterator | element_iterator |
typedef super_elements::element_const_iterator | element_const_iterator |
typedef super_elements::update_element_neighbor_type | update_element_neighbor_type |
typedef super_elements | super_faces |
typedef elements_type | faces_type |
typedef Points< nRealDim > | super_points |
typedef super_points::points_type | points_type |
typedef super_points::point_type | point_type |
typedef Mesh0D< Shape > | self_type |
typedef boost::shared_ptr < self_type > | self_ptrtype |
static const uint16_type | nDim = Shape::nRealDim |
static const uint16_type | nRealDim = Shape::nRealDim |
Constructors, destructor | |
__pad0__: super_visitable() | |
super (worldComm) | |
super_elements (worldComm) | |
super_points (worldComm) | |
Mesh0D (Mesh0D const &m) | |
~Mesh0D () | |
Additional Inherited Members | |
![]() | |
typedef R | return_type |
![]() | |
typedef boost::tuple < size_type, size_type > | face_processor_type |
typedef SubMeshData | smd_type |
typedef boost::shared_ptr < smd_type > | smd_ptrtype |
![]() | |
template<class T > | |
static return_type | acceptImpl (T *visited, VisitorBase *guest) |
|
inline |
copy constructor
|
inline |
destructor
|
inlinevirtual |
clear out all data from the mesh, isEmpty()
should return true
after a clear()
Reimplemented from Feel::MeshBase.
References Feel::elements(), Feel::Mesh0D< Shape >::isEmpty(), and Feel::points().
|
inline |
true
if all containers are empty, false
otherwise References Feel::isEmpty().
|
inlinevirtual |
|
inlinevirtual |
Implements Feel::MeshBase.
|
inline |
|
inline |
|
inlinevirtual |
|
inlineprotectedvirtual |
|
inlineprotected |
update permutation of entities of co-dimension 1
|
inlineprotectedvirtual |
update the entities of co-dimension 2
Implements Feel::MeshBase.
Feel::Mesh0D< Shape >::__pad0__ |
default constructor