Add element taking information from NODESET.
64 {
72 "FORCE_FE", "MESH_NODE_POSITIONS");
73 }
75 it)) {
77 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBTRI, tris,
78 true);
80 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBEDGE, edges,
81 true);
83 CHKERR m_field.
get_moab().get_adjacencies(tris, 1,
false, tris_edges,
84 moab::Interface::UNION);
85 edges = subtract(edges, tris_edges);
86 if (intersect_ptr) {
87 edges = intersect(edges, *intersect_ptr);
88 }
90 "FORCE_FE");
91 }
93 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
virtual MoFEMErrorCode add_finite_element(const std::string &fe_name, enum MoFEMTypes bh=MF_EXCL, int verb=DEFAULT_VERBOSITY)=0
add finite element
virtual MoFEMErrorCode 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 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 modify_finite_element_add_field_data(const std::string &fe_name, const std::string name_filed)=0
set finite element field data
virtual MoFEMErrorCode 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 bool check_field(const std::string &name) const =0
check if field is in database
#define _IT_CUBITMESHSETS_BY_BCDATA_TYPE_FOR_LOOP_(MESHSET_MANAGER, CUBITBCTYPE, IT)
Iterator that loops over a specific Cubit MeshSet in a moFEM field.
constexpr auto field_name
virtual moab::Interface & get_moab()=0