#include <users_modules/basic_finite_elements/src/NodalForce.hpp>
Definition at line 71 of file NodalForce.hpp.
◆ addElement()
static MoFEMErrorCode MetaNodalForces::addElement |
( |
MoFEM::Interface & |
m_field, |
|
|
const std::string |
field_name, |
|
|
Range * |
intersect_ptr = NULL |
|
) |
| |
|
static |
Add element taking information from NODESET.
- Examples
- elasticity.cpp, elasticity_mixed_formulation.cpp, and Remodeling.cpp.
Definition at line 104 of file NodalForce.hpp.
115 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBTRI, tris,
118 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBEDGE, edges,
125 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBVERTEX,
127 nodes = subtract(nodes, tris_nodes);
128 nodes = subtract(nodes, edges_nodes);
130 nodes = intersect(nodes, *intersect_ptr);
◆ setOperators()
static MoFEMErrorCode MetaNodalForces::setOperators |
( |
MoFEM::Interface & |
m_field, |
|
|
boost::ptr_map< std::string, NodalForce > & |
nodal_forces, |
|
|
Vec |
F, |
|
|
const std::string |
field_name |
|
) |
| |
|
static |
The documentation for this struct was generated from the following file:
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