v0.8.20
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 106 of file DeprecatedCoreInterface.cpp.

109  {
110  return getInterface<BitRefManager>()->getAdjacencies(
111  problem_ptr, from_entities, num_netities, to_dimension, adj_entities,
112  operation_type, verb);
113 }

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

118  {
119  return getInterface<BitRefManager>()->getAdjacencies(
120  bit, from_entities, num_netities, to_dimension, adj_entities,
121  operation_type, verb);
122 }

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

101  {
102  return getInterface<BitRefManager>()->getAdjacenciesAny(
103  from_entiti, to_dimension, adj_entities);
104 }

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

93  {
94  return getInterface<BitRefManager>()->getAdjacenciesEquality(
95  from_entiti, to_dimension, adj_entities);
96 }

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

257  {
258  return getInterface<BitRefManager>()->getEntitiesByRefLevel(bit, mask,
259  meshset);
260 }

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

263  {
264  return getInterface<BitRefManager>()->getEntitiesByRefLevel(bit, mask, ents);
265 }

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

242  {
243  return getInterface<BitRefManager>()->getEntitiesByTypeAndRefLevel(
244  bit, mask, type, meshset, verb);
245 }

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

249  {
250  return getInterface<BitRefManager>()->getEntitiesByTypeAndRefLevel(
251  bit, mask, type, ents, verb);
252 }