v0.16.3
Loading...
Searching...
No Matches
Finite elements

Adding and managing finite elements. More...

Collaboration diagram for Finite elements:

Finite elements

virtual MoFEMErrorCode MoFEM::CoreInterface::add_finite_element (const std::string &fe_name, enum MoFEMTypes bh=MF_EXCL, int verb=DEFAULT_VERBOSITY)=0
 add finite element
 
virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_adjacency_table (const std::string &fe_name, const EntityType type, ElementAdjacencyFunct function)=0
 modify finite element table, only for advanced user
 
virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_add_field_data (const std::string &fe_name, const std::string name_field)=0
 set finite element field data
 
virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_off_field_data (const std::string &fe_name, const std::string name_field)=0
 unset finite element field data
 
virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_add_field_row (const std::string &fe_name, const std::string name_row)=0
 set field row which finite element use
 
virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_off_field_row (const std::string &fe_name, const std::string name_row)=0
 unset field row which finite element use
 
virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_add_field_col (const std::string &fe_name, const std::string name_row)=0
 set field col which finite element use
 
virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_off_field_col (const std::string &fe_name, const std::string name_row)=0
 unset field col which finite element use
 
virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_type (const EntityHandle entities, const EntityType type, const std::string name, const bool recursive=true)=0
 add entities to finite element
 
virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_dim (const EntityHandle entities, const int dim, const std::string name, const bool recursive=true)=0
 add entities to finite element
 
virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_type (const Range ents, const EntityType type, const std::string name)=0
 add entities to finite elements
 
virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_dim (const Range ents, const int dim, const std::string name)=0
 add entities to finite elements
 
virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_bit_ref (const BitRefLevel bit, const BitRefLevel mask, const std::string name, EntityType type, int verb=DEFAULT_VERBOSITY)=0
 add TET entities from given refinement level to finite element database given by name
 
virtual EntityHandle MoFEM::CoreInterface::get_finite_element_meshset (const std::string name) const =0
 
virtual MoFEMErrorCode MoFEM::CoreInterface::remove_ents_from_finite_element_by_bit_ref (const BitRefLevel bit, const BitRefLevel mask, int verb=DEFAULT_VERBOSITY)=0
 remove elements from given refinement level to finite element database
 
virtual MoFEMErrorCode MoFEM::CoreInterface::remove_ents_from_finite_element (const std::string name, const Range ents, int verb=DEFAULT_VERBOSITY)=0
 remove entities from finite element database
 
virtual MoFEMErrorCode MoFEM::CoreInterface::remove_ents_from_finite_element (const Range ents, int verb=DEFAULT_VERBOSITY)=0
 remove entities from finite elements in database
 
virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_MESHSET (const EntityHandle meshset, const std::string &name, const bool recursive=false)=0
 add MESHSET element to finite element database given by name
 
virtual MoFEMErrorCode MoFEM::CoreInterface::list_finite_elements () const =0
 list finite elements in database
 

Build fields, finite elements and problems

virtual MoFEMErrorCode MoFEM::CoreInterface::build_finite_elements (int verb=DEFAULT_VERBOSITY)=0
 Build finite elements.
 
virtual MoFEMErrorCode MoFEM::CoreInterface::build_finite_elements (const string fe_name, const Range *const ents_ptr=nullptr, int verb=DEFAULT_VERBOSITY)=0
 Build finite elements.
 

Detailed Description

Adding and managing finite elements.

Function Documentation

◆ add_ents_to_finite_element_by_bit_ref()

virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_bit_ref ( const BitRefLevel  bit,
const BitRefLevel  mask,
const std::string  name,
EntityType  type,
int  verb = DEFAULT_VERBOSITY 
)
pure virtual

#include <src/interfaces/Interface.hpp>

add TET entities from given refinement level to finite element database given by name

Note
not collective
Parameters
BitRefLevelbit
BitRefLevelmask
finiteelement name
finiteelement type
verboselevel

Implemented in MoFEM::CoreTmp< 0 >.

◆ add_ents_to_finite_element_by_dim() [1/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_dim ( const EntityHandle  entities,
const int  dim,
const std::string  name,
const bool  recursive = true 
)
pure virtual

◆ add_ents_to_finite_element_by_dim() [2/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_dim ( const Range  ents,
const int  dim,
const std::string  name 
)
pure virtual

#include <src/interfaces/Interface.hpp>

add entities to finite elements

Note
not collective
Parameters
entsrange of entities
dimdimension of entities
namename of finite element
Returns
error code

Implemented in MoFEM::CoreTmp< 0 >.

◆ add_ents_to_finite_element_by_MESHSET()

virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_MESHSET ( const EntityHandle  meshset,
const std::string &  name,
const bool  recursive = false 
)
pure virtual

#include <src/interfaces/Interface.hpp>

add MESHSET element to finite element database given by name

Note
not collective
Parameters
meshsetcontains all entities that could be used for finite element
nameFinite Element name

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/atom_tests/dm_partitioned_no_field.cpp.

◆ add_ents_to_finite_element_by_type() [1/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_type ( const EntityHandle  entities,
const EntityType  type,
const std::string  name,
const bool  recursive = true 
)
pure virtual

◆ add_ents_to_finite_element_by_type() [2/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::add_ents_to_finite_element_by_type ( const Range  ents,
const EntityType  type,
const std::string  name 
)
pure virtual

#include <src/interfaces/Interface.hpp>

add entities to finite elements

Note
not collective
Parameters
entsrange of entities
typetype of entity (MBVERTEX, MBEDGE, MBTRI, ...)
namename of finite element
Returns
error code

Implemented in MoFEM::CoreTmp< 0 >.

◆ add_finite_element()

virtual MoFEMErrorCode MoFEM::CoreInterface::add_finite_element ( const std::string &  fe_name,
enum MoFEMTypes  bh = MF_EXCL,
int  verb = DEFAULT_VERBOSITY 
)
pure virtual

#include <src/interfaces/Interface.hpp>

add finite element

Parameters
fe_nameFinite element name to add
bhControls behavior if finite element already exists (MF_EXCL throws error, MF_ZERO allows)
verbVerbosity level (default: DEFAULT_VERBOSITY)
Returns
MoFEMErrorCode Error code indicating success or failure
Note
add_finite_element is a collective operation, should be executed on all processors. Otherwise could lead to deadlock.

Example

CHKERR mField.add_finite_element("ELASTIC");
CHKERR mField.add_finite_element("PLASTIC");
#define CHKERR
Inline error check.

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/atom_tests/build_composite_problem.cpp, mofem/atom_tests/build_large_problem.cpp, mofem/atom_tests/build_problems.cpp, mofem/atom_tests/continuity_check_on_contact_prism_side_ele.cpp, mofem/atom_tests/continuity_check_on_skeleton_3d.cpp, mofem/atom_tests/dm_build_partitioned_mesh.cpp, mofem/atom_tests/dm_create_subdm.cpp, mofem/atom_tests/dm_partitioned_no_field.cpp, mofem/atom_tests/forces_and_sources_testing_edge_element.cpp, mofem/atom_tests/forces_and_sources_testing_flat_prism_element.cpp, mofem/atom_tests/forces_and_sources_testing_users_base.cpp, mofem/atom_tests/hcurl_divergence_operator_2d.cpp, mofem/atom_tests/mesh_insert_interface_atom.cpp, mofem/atom_tests/prism_elements_from_surface.cpp, mofem/atom_tests/prism_polynomial_approximation.cpp, mofem/atom_tests/quad_polynomial_approximation.cpp, mofem/atom_tests/remove_entities_from_problem.cpp, mofem/atom_tests/remove_entities_from_problem_not_partitioned.cpp, mofem/tools/mesh_smoothing.cpp, mofem/tutorials/cor-0to1_unsaturated_transport/src/UnsaturatedFlow.hpp, mofem/tutorials/cor-6_simple_elasticity/simple_elasticity.cpp, mofem/tutorials/cor-7_elasticity_mixed_formulation/elasticity_mixed_formulation.cpp, mofem/tutorials/max-0_magnetostatics/src/MagneticElement.hpp, mofem/tutorials/scl-12_electrostatics/electrostatics.cpp, mofem/tutorials/vec-7_shape_optimisation/adjoint.cpp, mofem/users_modules/basic_finite_elements/elasticity/elasticity.cpp, mofem/users_modules/basic_finite_elements/nonlinear_elasticity/nonlinear_dynamics.cpp, mofem/users_modules/basic_finite_elements/src/NavierStokesElement.hpp, mofem/users_modules/basic_finite_elements/src/impl/HookeElement.cpp, mofem/users_modules/bone_remodelling/src/impl/Remodeling.cpp, and mofem/users_modules/minimal_surface_equation/minimal_surface_area.cpp.

◆ build_finite_elements() [1/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::build_finite_elements ( const string  fe_name,
const Range *const  ents_ptr = nullptr,
int  verb = DEFAULT_VERBOSITY 
)
pure virtual

#include <src/interfaces/Interface.hpp>

Build finite elements.

Build finite element data structures. Have to be run before problem and adjacencies are constructed.

Parameters
fe_nameName of finite element
ents_ptrPointer to range of finite elements
verbVerbosity level
Returns
Error code

Implemented in MoFEM::CoreTmp< 0 >.

◆ build_finite_elements() [2/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::build_finite_elements ( int  verb = DEFAULT_VERBOSITY)
pure virtual

#include <src/interfaces/Interface.hpp>

Build finite elements.

Build finite element data structures. Have to be run before problem and adjacencies are constructed.

Parameters
verbVerbosity level
Returns
Error code

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/atom_tests/build_composite_problem.cpp, mofem/atom_tests/build_large_problem.cpp, mofem/atom_tests/build_problems.cpp, mofem/atom_tests/continuity_check_on_contact_prism_side_ele.cpp, mofem/atom_tests/continuity_check_on_skeleton_3d.cpp, mofem/atom_tests/dm_build_partitioned_mesh.cpp, mofem/atom_tests/dm_create_subdm.cpp, mofem/atom_tests/dm_partitioned_no_field.cpp, mofem/atom_tests/forces_and_sources_testing_edge_element.cpp, mofem/atom_tests/forces_and_sources_testing_flat_prism_element.cpp, mofem/atom_tests/forces_and_sources_testing_users_base.cpp, mofem/atom_tests/hcurl_divergence_operator_2d.cpp, mofem/atom_tests/mesh_insert_interface_atom.cpp, mofem/atom_tests/prism_elements_from_surface.cpp, mofem/atom_tests/prism_polynomial_approximation.cpp, mofem/atom_tests/quad_polynomial_approximation.cpp, mofem/atom_tests/remove_entities_from_problem.cpp, mofem/atom_tests/remove_entities_from_problem_not_partitioned.cpp, mofem/tutorials/cor-0to1_unsaturated_transport/src/UnsaturatedFlow.hpp, mofem/tutorials/cor-10_navier_stokes/navier_stokes.cpp, mofem/tutorials/cor-6_simple_elasticity/simple_elasticity.cpp, mofem/tutorials/cor-7_elasticity_mixed_formulation/elasticity_mixed_formulation.cpp, mofem/tutorials/max-0_magnetostatics/src/MagneticElement.hpp, mofem/tutorials/max-1_lorentz_force//lorentz_force.cpp, mofem/tutorials/mix-0_mixed_poisson/mixed_poisson.cpp, mofem/tutorials/scl-12_electrostatics/electrostatics.cpp, mofem/tutorials/vec-7_shape_optimisation/adjoint.cpp, mofem/users_modules/basic_finite_elements/elasticity/elasticity.cpp, mofem/users_modules/basic_finite_elements/nonlinear_elasticity/nonlinear_dynamics.cpp, mofem/users_modules/bone_remodelling/src/impl/Remodeling.cpp, and mofem/users_modules/minimal_surface_equation/minimal_surface_area.cpp.

◆ get_finite_element_meshset()

virtual EntityHandle MoFEM::CoreInterface::get_finite_element_meshset ( const std::string  name) const
pure virtual

#include <src/interfaces/Interface.hpp>

get finite element meshset

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/tutorials/adv-3_level_set/level_set.cpp.

◆ list_finite_elements()

virtual MoFEMErrorCode MoFEM::CoreInterface::list_finite_elements ( ) const
pure virtual

#include <src/interfaces/Interface.hpp>

list finite elements in database

Implemented in MoFEM::CoreTmp< 0 >.

◆ modify_finite_element_add_field_col()

virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_add_field_col ( const std::string &  fe_name,
const std::string  name_row 
)
pure virtual

#include <src/interfaces/Interface.hpp>

set field col which finite element use

Note
add_file is a collective, should be executed on all processors. Otherwise could lead to deadlock.
Parameters
namefinite element name
namefield name

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/atom_tests/build_composite_problem.cpp, mofem/atom_tests/build_large_problem.cpp, mofem/atom_tests/build_problems.cpp, mofem/atom_tests/continuity_check_on_contact_prism_side_ele.cpp, mofem/atom_tests/continuity_check_on_skeleton_3d.cpp, mofem/atom_tests/dm_build_partitioned_mesh.cpp, mofem/atom_tests/dm_create_subdm.cpp, mofem/atom_tests/dm_partitioned_no_field.cpp, mofem/atom_tests/forces_and_sources_testing_edge_element.cpp, mofem/atom_tests/forces_and_sources_testing_flat_prism_element.cpp, mofem/atom_tests/forces_and_sources_testing_users_base.cpp, mofem/atom_tests/hcurl_divergence_operator_2d.cpp, mofem/atom_tests/mesh_insert_interface_atom.cpp, mofem/atom_tests/prism_elements_from_surface.cpp, mofem/atom_tests/prism_polynomial_approximation.cpp, mofem/atom_tests/quad_polynomial_approximation.cpp, mofem/atom_tests/remove_entities_from_problem.cpp, mofem/atom_tests/remove_entities_from_problem_not_partitioned.cpp, mofem/tools/mesh_smoothing.cpp, mofem/tutorials/cor-0to1_unsaturated_transport/src/UnsaturatedFlow.hpp, mofem/tutorials/cor-6_simple_elasticity/simple_elasticity.cpp, mofem/tutorials/cor-7_elasticity_mixed_formulation/elasticity_mixed_formulation.cpp, mofem/tutorials/max-0_magnetostatics/src/MagneticElement.hpp, mofem/tutorials/scl-12_electrostatics/electrostatics.cpp, mofem/tutorials/vec-7_shape_optimisation/adjoint.cpp, mofem/users_modules/basic_finite_elements/elasticity/elasticity.cpp, mofem/users_modules/basic_finite_elements/nonlinear_elasticity/nonlinear_dynamics.cpp, mofem/users_modules/basic_finite_elements/src/NavierStokesElement.hpp, mofem/users_modules/basic_finite_elements/src/impl/HookeElement.cpp, mofem/users_modules/bone_remodelling/src/impl/Remodeling.cpp, and mofem/users_modules/minimal_surface_equation/minimal_surface_area.cpp.

◆ modify_finite_element_add_field_data()

virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_add_field_data ( const std::string &  fe_name,
const std::string  name_field 
)
pure virtual

#include <src/interfaces/Interface.hpp>

set finite element field data

Note
modify_finite_element_add_field_data is a collective operation, should be executed on all processors. Otherwise could lead to deadlock.
Parameters
fe_nameFinite element name
name_fieldField name to add data for
Returns
MoFEMErrorCode Error code indicating success or failure

This function will set memory in the form of a vector

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/atom_tests/build_large_problem.cpp, mofem/atom_tests/continuity_check_on_contact_prism_side_ele.cpp, mofem/atom_tests/continuity_check_on_skeleton_3d.cpp, mofem/atom_tests/dm_build_partitioned_mesh.cpp, mofem/atom_tests/dm_create_subdm.cpp, mofem/atom_tests/dm_partitioned_no_field.cpp, mofem/atom_tests/forces_and_sources_testing_edge_element.cpp, mofem/atom_tests/forces_and_sources_testing_flat_prism_element.cpp, mofem/atom_tests/forces_and_sources_testing_users_base.cpp, mofem/atom_tests/hcurl_divergence_operator_2d.cpp, mofem/atom_tests/mesh_insert_interface_atom.cpp, mofem/atom_tests/prism_elements_from_surface.cpp, mofem/atom_tests/prism_polynomial_approximation.cpp, mofem/atom_tests/quad_polynomial_approximation.cpp, mofem/atom_tests/remove_entities_from_problem.cpp, mofem/atom_tests/remove_entities_from_problem_not_partitioned.cpp, mofem/tools/mesh_smoothing.cpp, mofem/tutorials/cor-0to1_unsaturated_transport/src/UnsaturatedFlow.hpp, mofem/tutorials/cor-6_simple_elasticity/simple_elasticity.cpp, mofem/tutorials/cor-7_elasticity_mixed_formulation/elasticity_mixed_formulation.cpp, mofem/tutorials/max-0_magnetostatics/src/MagneticElement.hpp, mofem/tutorials/scl-12_electrostatics/electrostatics.cpp, mofem/tutorials/vec-7_shape_optimisation/adjoint.cpp, mofem/users_modules/basic_finite_elements/elasticity/elasticity.cpp, mofem/users_modules/basic_finite_elements/nonlinear_elasticity/nonlinear_dynamics.cpp, mofem/users_modules/basic_finite_elements/src/NavierStokesElement.hpp, mofem/users_modules/basic_finite_elements/src/impl/HookeElement.cpp, mofem/users_modules/bone_remodelling/src/impl/Remodeling.cpp, and mofem/users_modules/minimal_surface_equation/minimal_surface_area.cpp.

◆ modify_finite_element_add_field_row()

virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_add_field_row ( const std::string &  fe_name,
const std::string  name_row 
)
pure virtual

#include <src/interfaces/Interface.hpp>

set field row which finite element use

Note
add_file is a collective, should be executed on all processors. Otherwise could lead to deadlock.
Parameters
namefinite element name
namefield name

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/atom_tests/build_composite_problem.cpp, mofem/atom_tests/build_large_problem.cpp, mofem/atom_tests/build_problems.cpp, mofem/atom_tests/continuity_check_on_contact_prism_side_ele.cpp, mofem/atom_tests/continuity_check_on_skeleton_3d.cpp, mofem/atom_tests/dm_build_partitioned_mesh.cpp, mofem/atom_tests/dm_create_subdm.cpp, mofem/atom_tests/dm_partitioned_no_field.cpp, mofem/atom_tests/forces_and_sources_testing_edge_element.cpp, mofem/atom_tests/forces_and_sources_testing_flat_prism_element.cpp, mofem/atom_tests/forces_and_sources_testing_users_base.cpp, mofem/atom_tests/hcurl_divergence_operator_2d.cpp, mofem/atom_tests/mesh_insert_interface_atom.cpp, mofem/atom_tests/prism_elements_from_surface.cpp, mofem/atom_tests/prism_polynomial_approximation.cpp, mofem/atom_tests/quad_polynomial_approximation.cpp, mofem/atom_tests/remove_entities_from_problem.cpp, mofem/atom_tests/remove_entities_from_problem_not_partitioned.cpp, mofem/tools/mesh_smoothing.cpp, mofem/tutorials/cor-0to1_unsaturated_transport/src/UnsaturatedFlow.hpp, mofem/tutorials/cor-6_simple_elasticity/simple_elasticity.cpp, mofem/tutorials/cor-7_elasticity_mixed_formulation/elasticity_mixed_formulation.cpp, mofem/tutorials/max-0_magnetostatics/src/MagneticElement.hpp, mofem/tutorials/scl-12_electrostatics/electrostatics.cpp, mofem/tutorials/vec-7_shape_optimisation/adjoint.cpp, mofem/users_modules/basic_finite_elements/elasticity/elasticity.cpp, mofem/users_modules/basic_finite_elements/nonlinear_elasticity/nonlinear_dynamics.cpp, mofem/users_modules/basic_finite_elements/src/NavierStokesElement.hpp, mofem/users_modules/basic_finite_elements/src/impl/HookeElement.cpp, mofem/users_modules/bone_remodelling/src/impl/Remodeling.cpp, and mofem/users_modules/minimal_surface_equation/minimal_surface_area.cpp.

◆ modify_finite_element_adjacency_table()

virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_adjacency_table ( const std::string &  fe_name,
const EntityType  type,
ElementAdjacencyFunct  function 
)
pure virtual

#include <src/interfaces/Interface.hpp>

modify finite element table, only for advanced user

Note
modify_finite_element_adjacency_table is a collective operation, should be executed on all processors. Otherwise could lead to deadlock.

Using that functions means that you like to do something not usual.

Parameters
fe_nameName of the finite element to modify
typeEntity type to modify adjacency for
functionAdjacency function to apply
Returns
MoFEMErrorCode Error code indicating success or failure

Implemented in MoFEM::CoreTmp< 0 >.

Examples
mofem/atom_tests/scalar_check_approximation.cpp.

◆ modify_finite_element_off_field_col()

virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_off_field_col ( const std::string &  fe_name,
const std::string  name_row 
)
pure virtual

#include <src/interfaces/Interface.hpp>

unset field col which finite element use

Note
add_file is a collective, should be executed on all processors. Otherwise could lead to deadlock.
Parameters
namefinite element name
namefield name

Implemented in MoFEM::CoreTmp< 0 >.

◆ modify_finite_element_off_field_data()

virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_off_field_data ( const std::string &  fe_name,
const std::string  name_field 
)
pure virtual

#include <src/interfaces/Interface.hpp>

unset finite element field data

Note
modify_finite_element_off_field_data is a collective operation, should be executed on all processors. Otherwise could lead to deadlock.
Parameters
fe_nameFinite element name
name_fieldField name to remove data for
Returns
MoFEMErrorCode Error code indicating success or failure

This function will unset memory in the form of a vector

Implemented in MoFEM::CoreTmp< 0 >.

◆ modify_finite_element_off_field_row()

virtual MoFEMErrorCode MoFEM::CoreInterface::modify_finite_element_off_field_row ( const std::string &  fe_name,
const std::string  name_row 
)
pure virtual

#include <src/interfaces/Interface.hpp>

unset field row which finite element use

Note
add_file is a collective, should be executed on all processors. Otherwise could lead to deadlock.
Parameters
namefinite element name
namefield name

Implemented in MoFEM::CoreTmp< 0 >.

◆ remove_ents_from_finite_element() [1/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::remove_ents_from_finite_element ( const Range  ents,
int  verb = DEFAULT_VERBOSITY 
)
pure virtual

#include <src/interfaces/Interface.hpp>

remove entities from finite elements in database

Implemented in MoFEM::CoreTmp< 0 >.

◆ remove_ents_from_finite_element() [2/2]

virtual MoFEMErrorCode MoFEM::CoreInterface::remove_ents_from_finite_element ( const std::string  name,
const Range  ents,
int  verb = DEFAULT_VERBOSITY 
)
pure virtual

#include <src/interfaces/Interface.hpp>

remove entities from finite element database

Implemented in MoFEM::CoreTmp< 0 >.

◆ remove_ents_from_finite_element_by_bit_ref()

virtual MoFEMErrorCode MoFEM::CoreInterface::remove_ents_from_finite_element_by_bit_ref ( const BitRefLevel  bit,
const BitRefLevel  mask,
int  verb = DEFAULT_VERBOSITY 
)
pure virtual

#include <src/interfaces/Interface.hpp>

remove elements from given refinement level to finite element database

Parameters
BitRefLevelbit
BitRefLevelmask
verboselevel

Implemented in MoFEM::CoreTmp< 0 >.