v0.6.10
Get entities and adjacencies

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

Collaboration diagram for Get entities and adjacencies:

Getting entities by BitRefLevel

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

Get adjacencies

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_adjacencies_equality (const EntityHandle from_entiti, const int to_dimension, Range &adj_entities) const
 Get the adjacencies associated with a entity to entities of a specified dimension. \ separate interface, i.e. BitLevelManager. More...
 
MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_adjacencies_any (const EntityHandle from_entiti, const int to_dimension, Range &adj_entities) const
 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...
 
MoFEMErrorCode MoFEM::DeprecatedCoreInterface::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
 Get the adjacencies associated with a entity to entities of a specified dimension. \ separate interface, i.e. BitLevelManage. More...
 
MoFEMErrorCode MoFEM::DeprecatedCoreInterface::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
 Get the adjacencies associated with a entity to entities of a specified dimension. \ separate interface, i.e. BitLevelManage. More...
 

Detailed Description

Get adjacencies/entities for given BitRefLevel (mesh refinement)

Function Documentation

◆ get_adjacencies() [1/2]

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::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

Get the adjacencies associated with a entity to entities of a specified dimension. \ separate interface, i.e. BitLevelManage.

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

Definition at line 62 of file DeprecatedCoreInterface.cpp.

70  {
71  return getInterface<BitRefManager>()->getAdjacencies(problem_ptr,from_entities,num_netities,to_dimension,adj_entities,operation_type,verb);
72  }

◆ get_adjacencies() [2/2]

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::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

Get the adjacencies associated with a entity to entities of a specified dimension. \ separate interface, i.e. BitLevelManage.

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

Definition at line 74 of file DeprecatedCoreInterface.cpp.

82  {
83  return getInterface<BitRefManager>()->getAdjacencies(bit,from_entities,num_netities,to_dimension,adj_entities,operation_type,verb);
84  }

◆ get_adjacencies_any()

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_adjacencies_any ( const EntityHandle  from_entiti,
const int  to_dimension,
Range &  adj_entities 
) const

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.

Definition at line 58 of file DeprecatedCoreInterface.cpp.

58  {
59  return getInterface<BitRefManager>()->getAdjacenciesAny(from_entiti,to_dimension,adj_entities);
60  }

◆ get_adjacencies_equality()

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_adjacencies_equality ( const EntityHandle  from_entiti,
const int  to_dimension,
Range &  adj_entities 
) const

Get the adjacencies associated with a entity to entities of a specified dimension. \ separate interface, i.e. BitLevelManager.

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

Definition at line 54 of file DeprecatedCoreInterface.cpp.

54  {
55  return getInterface<BitRefManager>()->getAdjacenciesEquality(from_entiti,to_dimension,adj_entities);
56  }

◆ get_entities_by_ref_level() [1/2]

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_entities_by_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
const EntityHandle  meshset 
)

add all ents from ref level given by bit to meshset

Deprecated:
Use MoFEM::BitRefManager interface instead
Parameters
BitRefLevelbitLevel
BitRefLevelmask
EntityHandlemeshset

Definition at line 229 of file DeprecatedCoreInterface.cpp.

229  {
230  return getInterface<BitRefManager>()->getEntitiesByRefLevel(bit,mask,meshset);
231  }

◆ get_entities_by_ref_level() [2/2]

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_entities_by_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
Range &  ents 
)

add all ents from ref level given by bit to meshset

Deprecated:
Use MoFEM::BitRefManager interface instead
Parameters
BitRefLevelbitLevel
BitRefLevelmask
Return values
ents

Definition at line 233 of file DeprecatedCoreInterface.cpp.

233  {
234  return getInterface<BitRefManager>()->getEntitiesByRefLevel(bit,mask,ents);
235  }

◆ get_entities_by_type_and_ref_level() [1/2]

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_entities_by_type_and_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
const EntityType  type,
const EntityHandle  meshset,
int  verb = -1 
)

add all ents from ref level given by bit to meshset

Deprecated:
Use MoFEM::BitRefManager interface instead
Parameters
BitRefLevelbitLevel
BitRefLevelmask
EntityTypetype of entities
Return values
EntityHandlemeshset

Definition at line 221 of file DeprecatedCoreInterface.cpp.

221  {
222  return getInterface<BitRefManager>()->getEntitiesByTypeAndRefLevel(bit,mask,type,meshset,verb);
223  }

◆ get_entities_by_type_and_ref_level() [2/2]

MoFEMErrorCode MoFEM::DeprecatedCoreInterface::get_entities_by_type_and_ref_level ( const BitRefLevel bit,
const BitRefLevel mask,
const EntityType  type,
Range &  ents,
int  verb = -1 
)

add all ents from ref level given by bit to meshset

Deprecated:
Use MoFEM::BitRefManager interface instead
Parameters
BitRefLevelbitLevel
BitRefLevelmask
EntityTypetype of entities
Return values
ents

Definition at line 225 of file DeprecatedCoreInterface.cpp.

225  {
226  return getInterface<BitRefManager>()->getEntitiesByTypeAndRefLevel(bit,mask,type,ents,verb);
227  }