v0.10.0
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

DEPRECATED 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...
 
DEPRECATED 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...
 
DEPRECATED 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...
 
DEPRECATED 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 109 of file DeprecatedCoreInterface.cpp.

112  {
113  return getInterface<BitRefManager>()->getAdjacencies(
114  problem_ptr, from_entities, num_netities, to_dimension, adj_entities,
115  operation_type, verb);
116 }

◆ 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 118 of file DeprecatedCoreInterface.cpp.

121  {
122  return getInterface<BitRefManager>()->getAdjacencies(
123  bit, from_entities, num_netities, to_dimension, adj_entities,
124  operation_type, verb);
125 }

◆ 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 102 of file DeprecatedCoreInterface.cpp.

104  {
105  return getInterface<BitRefManager>()->getAdjacenciesAny(
106  from_entiti, to_dimension, adj_entities);
107 }

◆ 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 94 of file DeprecatedCoreInterface.cpp.

96  {
97  return getInterface<BitRefManager>()->getAdjacenciesEquality(
98  from_entiti, to_dimension, adj_entities);
99 }

◆ 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 258 of file DeprecatedCoreInterface.cpp.

260  {
261  return getInterface<BitRefManager>()->getEntitiesByRefLevel(bit, mask,
262  meshset);
263 }

◆ 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 265 of file DeprecatedCoreInterface.cpp.

266  {
267  return getInterface<BitRefManager>()->getEntitiesByRefLevel(bit, mask, ents);
268 }

◆ 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 243 of file DeprecatedCoreInterface.cpp.

245  {
246  return getInterface<BitRefManager>()->getEntitiesByTypeAndRefLevel(
247  bit, mask, type, meshset, verb);
248 }

◆ 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 250 of file DeprecatedCoreInterface.cpp.

252  {
253  return getInterface<BitRefManager>()->getEntitiesByTypeAndRefLevel(
254  bit, mask, type, ents, verb);
255 }