![]() |
OGS
|
Definition at line 18 of file EmbeddedAnchor.h.
#include <EmbeddedAnchor.h>
Public Member Functions | |
EmbeddedAnchor (MeshLib::Mesh const &bulk_mesh, NumLib::LocalToGlobalIndexMap const &dof_table_bulk, std::size_t const source_term_mesh_id, MeshLib::Mesh const &st_mesh, const int variable_id) | |
void | getShapeMatricesAndGlobalIndicesAndDisplacements (MeshLib::Element const *const anchor_element, std::array< std::size_t, 2 > &nodes_per_element, std::vector< Eigen::RowVectorXd > &shape_matrices, std::vector< GlobalIndexType > &global_indices, Eigen::Vector< double, 2 *GlobalDim > &local_x, GlobalVector const &x, ParameterLib::SpatialPosition &pos) const |
void | integrate (const double t, GlobalVector const &x, GlobalVector &b, GlobalMatrix *jac) const override |
Public Member Functions inherited from ProcessLib::SourceTermBase | |
virtual | ~SourceTermBase ()=default |
Private Attributes | |
NumLib::LocalToGlobalIndexMap const & | dof_table_bulk_ |
MeshLib::Mesh const & | bulk_mesh_ |
std::size_t const | source_term_mesh_id_ |
MeshLib::Mesh const & | st_mesh_ |
int const | variable_id_ |
std::array< int, GlobalDim > const | component_ids_ |
MeshLib::PropertyVector< std::size_t > const * | bulk_element_ids_ = nullptr |
MeshLib::PropertyVector< double > const * | natural_coordinates_ = nullptr |
MeshLib::PropertyVector< double > const * | maximum_anchor_stress_ = nullptr |
MeshLib::PropertyVector< double > const * | initial_anchor_stress_ = nullptr |
MeshLib::PropertyVector< double > const * | residual_anchor_stress_ = nullptr |
MeshLib::PropertyVector< double > const * | cross_sectional_area_ = nullptr |
MeshLib::PropertyVector< double > const * | anchor_stiffness_ = nullptr |
|
explicit |
Definition at line 141 of file EmbeddedAnchor.cpp.
References bulk_mesh_, component_ids_, dof_table_bulk_, source_term_mesh_id_, st_mesh_, and variable_id_.
void ProcessLib::EmbeddedAnchor< GlobalDim >::getShapeMatricesAndGlobalIndicesAndDisplacements | ( | MeshLib::Element const *const | anchor_element, |
std::array< std::size_t, 2 > & | nodes_per_element, | ||
std::vector< Eigen::RowVectorXd > & | shape_matrices, | ||
std::vector< GlobalIndexType > & | global_indices, | ||
Eigen::Vector< double, 2 *GlobalDim > & | local_x, | ||
GlobalVector const & | x, | ||
ParameterLib::SpatialPosition & | pos ) const |
Definition at line 202 of file EmbeddedAnchor.cpp.
References bulk_mesh_, ProcessLib::computeShapeMatrix(), dof_table_bulk_, MathLib::EigenVector::get(), MeshLib::views::ids, natural_coordinates_, ProcessLib::nodeLocalIndices(), MeshLib::Element::nodes(), ParameterLib::SpatialPosition::setElementID(), NumLib::detail::shapeFunctionInterpolate(), MathLib::toVector(), and variable_id_.
Referenced by integrate().
|
overridevirtual |
Implements ProcessLib::SourceTermBase.
Definition at line 253 of file EmbeddedAnchor.cpp.
References MathLib::EigenMatrix::add(), MathLib::EigenVector::add(), ProcessLib::assembleLocalBJac(), DBUG(), getShapeMatricesAndGlobalIndicesAndDisplacements(), ProcessLib::nodeLocalIndices(), and st_mesh_.
|
private |
Definition at line 52 of file EmbeddedAnchor.h.
|
private |
Definition at line 46 of file EmbeddedAnchor.h.
|
private |
Definition at line 41 of file EmbeddedAnchor.h.
Referenced by EmbeddedAnchor(), and getShapeMatricesAndGlobalIndicesAndDisplacements().
|
private |
Definition at line 45 of file EmbeddedAnchor.h.
Referenced by EmbeddedAnchor().
|
private |
Definition at line 51 of file EmbeddedAnchor.h.
|
private |
Definition at line 40 of file EmbeddedAnchor.h.
Referenced by EmbeddedAnchor(), and getShapeMatricesAndGlobalIndicesAndDisplacements().
|
private |
Definition at line 49 of file EmbeddedAnchor.h.
|
private |
Definition at line 48 of file EmbeddedAnchor.h.
|
private |
Definition at line 47 of file EmbeddedAnchor.h.
Referenced by getShapeMatricesAndGlobalIndicesAndDisplacements().
|
private |
Definition at line 50 of file EmbeddedAnchor.h.
|
private |
Definition at line 42 of file EmbeddedAnchor.h.
Referenced by EmbeddedAnchor().
|
private |
Definition at line 43 of file EmbeddedAnchor.h.
Referenced by EmbeddedAnchor(), and integrate().
|
private |
Definition at line 44 of file EmbeddedAnchor.h.
Referenced by EmbeddedAnchor(), and getShapeMatricesAndGlobalIndicesAndDisplacements().