v0.5.86
Get entities and adjacencies

Get adjacencies/entities for given BitRefLevel (mesh refinement) More...

Collaboration diagram for Get entities and adjacencies:

Getting entities by BitRefLevel

virtual PetscErrorCode MoFEM::Interface::get_entities_by_type_and_ref_level (const BitRefLevel &bit, const BitRefLevel &mask, const EntityType type, const EntityHandle meshset, int verb=-1)=0
 add all ents from ref level given by bit to meshset More...
 
virtual PetscErrorCode MoFEM::Interface::get_entities_by_type_and_ref_level (const BitRefLevel &bit, const BitRefLevel &mask, const EntityType type, Range &ents, int verb=-1)=0
 add all ents from ref level given by bit to meshset More...
 
virtual PetscErrorCode MoFEM::Interface::get_entities_by_ref_level (const BitRefLevel &bit, const BitRefLevel &mask, const EntityHandle meshset)=0
 add all ents from ref level given by bit to meshset More...
 
virtual PetscErrorCode MoFEM::Interface::get_entities_by_ref_level (const BitRefLevel &bit, const BitRefLevel &mask, Range &ents)=0
 add all ents from ref level given by bit to meshset More...
 

Get adjacencies

virtual PetscErrorCode MoFEM::Interface::get_adjacencies_equality (const EntityHandle from_entiti, const int to_dimension, Range &adj_entities) const =0
 Get the adjacencies associated with a entity to entities of a specified dimension. More...
 
virtual PetscErrorCode MoFEM::Interface::get_adjacencies_any (const EntityHandle from_entiti, const int to_dimension, Range &adj_entities) const =0
 Get the adjacencies associated with a entity to entities of a specified dimension.bit ref level of adjacent entities is any of bit ref level of adjacent entities. More...
 
virtual PetscErrorCode MoFEM::Interface::get_adjacencies (const Problem *problem_ptr, const EntityHandle *from_entities, const int num_netities, const int to_dimension, Range &adj_entities, const int operation_type=moab::Interface::INTERSECT, const int verb=0) const =0
 Get the adjacencies associated with a entity to entities of a specified dimension. More...
 
virtual PetscErrorCode MoFEM::Interface::get_adjacencies (const BitRefLevel &bit, const EntityHandle *from_entities, const int num_netities, const int to_dimension, Range &adj_entities, const int operation_type=moab::Interface::INTERSECT, const int verb=0) const =0
 Get the adjacencies associated with a entity to entities of a specified dimension. More...
 

Detailed Description

Get adjacencies/entities for given BitRefLevel (mesh refinement)

Function Documentation

◆ get_adjacencies() [1/2]

virtual PetscErrorCode MoFEM::Interface::get_adjacencies ( const Problem problem_ptr,
const EntityHandle from_entities,
const int  num_netities,
const int  to_dimension,
Range &  adj_entities,
const int  operation_type = moab::Interface::INTERSECT,
const int  verb = 0 
) const
pure virtual

Get the adjacencies associated with a entity to entities of a specified dimension.

Todo:
Should be outsourced to separate interface, i.e. BitLevelManage

bit ref level of adjacent entities is equal to bit ref level of adjacent entities

Implemented in MoFEM::Core.

◆ get_adjacencies() [2/2]

virtual PetscErrorCode MoFEM::Interface::get_adjacencies ( const BitRefLevel bit,
const EntityHandle from_entities,
const int  num_netities,
const int  to_dimension,
Range &  adj_entities,
const int  operation_type = moab::Interface::INTERSECT,
const int  verb = 0 
) const
pure virtual

Get the adjacencies associated with a entity to entities of a specified dimension.

Todo:
Should be outsourced to separate interface, i.e. BitLevelManage

bit ref level of adjacent entities is equal to bit ref level of adjacent entities

Implemented in MoFEM::Core.

◆ get_adjacencies_any()

virtual PetscErrorCode MoFEM::Interface::get_adjacencies_any ( const EntityHandle  from_entiti,
const int  to_dimension,
Range &  adj_entities 
) const
pure virtual

Get the adjacencies associated with a entity to entities of a specified dimension.bit ref level of adjacent entities is any of bit ref level of adjacent entities.

Implemented in MoFEM::Core.

◆ get_adjacencies_equality()

virtual PetscErrorCode MoFEM::Interface::get_adjacencies_equality ( const EntityHandle  from_entiti,
const int  to_dimension,
Range &  adj_entities 
) const
pure virtual

Get the adjacencies associated with a entity to entities of a specified dimension.

Todo:
Should be outsourced to separate interface, i.e. BitLevelManager

bit ref level of adjacent entities is equal to bit ref level of adjacent entities

Implemented in MoFEM::Core.

◆ get_entities_by_ref_level() [1/2]

virtual PetscErrorCode MoFEM::Interface::get_entities_by_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
const EntityHandle  meshset 
)
pure virtual

add all ents from ref level given by bit to meshset

Todo:
Should be outsourced to separate interface, i.e. BitLevelManager
Parameters
BitRefLevelbitLevel
BitRefLevelmask
EntityHandlemeshset

Implemented in MoFEM::Core.

◆ get_entities_by_ref_level() [2/2]

virtual PetscErrorCode MoFEM::Interface::get_entities_by_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
Range &  ents 
)
pure virtual

add all ents from ref level given by bit to meshset

Todo:
Should be outsourced to separate interface, i.e. BitLevelManager
Parameters
BitRefLevelbitLevel
BitRefLevelmask
Return values
ents

Implemented in MoFEM::Core.

◆ get_entities_by_type_and_ref_level() [1/2]

virtual PetscErrorCode MoFEM::Interface::get_entities_by_type_and_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
const EntityType  type,
const EntityHandle  meshset,
int  verb = -1 
)
pure virtual

add all ents from ref level given by bit to meshset

Todo:
Should be outsourced to separate interface, i.e. BitLevelManager
Parameters
BitRefLevelbitLevel
BitRefLevelmask
EntityTypetype of entities
Return values
EntityHandlemeshset

Implemented in MoFEM::Core.

◆ get_entities_by_type_and_ref_level() [2/2]

virtual PetscErrorCode MoFEM::Interface::get_entities_by_type_and_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
const EntityType  type,
Range &  ents,
int  verb = -1 
)
pure virtual

add all ents from ref level given by bit to meshset

Todo:
Should be outsourced to separate interface, i.e. BitLevelManager
Parameters
BitRefLevelbitLevel
BitRefLevelmask
EntityTypetype of entities
Return values
ents

Implemented in MoFEM::Core.