v0.15.0
Loading...
Searching...
No Matches
SimpleRodElement.hpp
Go to the documentation of this file.
1/** \file SimpleRodElements.hpp
2 \brief Header file for SimpleRod element implementation
3*/
4
5
6
7#ifndef __SIMPLERODELEMENT_HPP__
8#define __SIMPLERODELEMENT_HPP__
9
10/** \brief Set of functions declaring elements and setting operators
11 * for simple rod element
12 */
14
15 /**
16 * \brief Declare SimpleRod element
17 *
18 * Search cubit sidesets and blockset ROD and declare
19 volume
20 * element
21
22 * Blockset has to have name "ROD". The first attribute of the
23 * blockset is Young's modulus.
24
25 *
26 * @param m_field Interface insurance
27 * @param field_name Field name (e.g. SPATIAL_POSITION)
28 * @param mesh_nodals_positions Name of field on which ho-geometry is defined
29 * @return Error code
30 */
31 static MoFEMErrorCode addSimpleRodElements(
32 MoFEM::Interface &m_field, const std::string field_name,
33 const std::string mesh_nodals_positions = "MESH_NODE_POSITIONS");
34
35 /**
36 * \brief Implementation of SimpleRod element. Set operators to calculate LHS
37 * and RHS
38 *
39 * @param m_field Interface insurance
40 * @param fe_simple_rod_lhs_ptr Pointer to the FE instance for LHS
41 * @param fe_simple_rod_rhs_ptr Pointer to the FE instance for RHS
42 * @param field_name Field name (e.g. SPATIAL_POSITION)
43 * @param mesh_nodals_positions Name of field on which ho-geometry is
44 * defined
45 * @return Error code
46 */
47 static MoFEMErrorCode setSimpleRodOperators(
48 MoFEM::Interface &m_field,
49 boost::shared_ptr<EdgeElementForcesAndSourcesCore>
50 fe_simple_rod_lhs_ptr,
51 boost::shared_ptr<EdgeElementForcesAndSourcesCore>
52 fe_simple_rod_rhs_ptr,
53 const std::string field_name,
54 const std::string mesh_nodals_positions = "MESH_NODE_POSITIONS");
55};
56
57#endif //__SIMPLERODELEMENT_HPP__
constexpr auto field_name
Set of functions declaring elements and setting operators for simple rod element.
static MoFEMErrorCode addSimpleRodElements(MoFEM::Interface &m_field, const std::string field_name, const std::string mesh_nodals_positions="MESH_NODE_POSITIONS")
Declare SimpleRod element.
static MoFEMErrorCode setSimpleRodOperators(MoFEM::Interface &m_field, boost::shared_ptr< EdgeElementForcesAndSourcesCore > fe_simple_rod_lhs_ptr, boost::shared_ptr< EdgeElementForcesAndSourcesCore > fe_simple_rod_rhs_ptr, const std::string field_name, const std::string mesh_nodals_positions="MESH_NODE_POSITIONS")
Implementation of SimpleRod element. Set operators to calculate LHS and RHS.
Deprecated interface functions.