v0.7.26
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 107 of file DeprecatedCoreInterface.cpp.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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