#include <users_modules/basic_finite_elements/src/NodalForce.hpp>
Definition at line 59 of file NodalForce.hpp.
◆ addElement()
static MoFEMErrorCode MetaNodalForces::addElement |
( |
MoFEM::Interface & |
m_field, |
|
|
const std::string |
field_name, |
|
|
Range * |
intersect_ptr = NULL |
|
) |
| |
|
inlinestatic |
Add element taking information from NODESET.
- Examples
- elasticity.cpp, elasticity_mixed_formulation.cpp, nonlinear_dynamics.cpp, and Remodeling.cpp.
Definition at line 92 of file NodalForce.hpp.
103 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBTRI, tris,
106 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBEDGE, edges,
113 CHKERR m_field.
get_moab().get_entities_by_type(it->meshset, MBVERTEX,
115 nodes = subtract(nodes, tris_nodes);
116 nodes = subtract(nodes, edges_nodes);
118 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 |
|
) |
| |
|
inlinestatic |
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