OGS
|
Functions | |
void | collectDofsToMatrixSingleComponentForSomeNodes (MeshLib::Element const &element, std::size_t const mesh_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, int const variable, int const component, unsigned const num_nodes, Eigen::Ref< Eigen::VectorXd > all_nodal_dof_for_this_component) |
void anonymous_namespace{CollectAndInterpolateNodalDof.cpp}::collectDofsToMatrixSingleComponentForSomeNodes | ( | MeshLib::Element const & | element, |
std::size_t const | mesh_id, | ||
NumLib::LocalToGlobalIndexMap const & | dof_table, | ||
GlobalVector const & | x, | ||
int const | variable, | ||
int const | component, | ||
unsigned const | num_nodes, | ||
Eigen::Ref< Eigen::VectorXd > | all_nodal_dof_for_this_component ) |
Collects the degrees of freedom of the passed element from the passed global vector into a vector.
num_nodes
can be set "arbitrarily", e.g., to only collect d.o.f. on the base nodes of the passed mesh element. Definition at line 22 of file CollectAndInterpolateNodalDof.cpp.
References NumLib::LocalToGlobalIndexMap::getGlobalIndex(), MathLib::Point3dWithID::getID(), MeshLib::Element::getNode(), MeshLib::Node, NumLib::MeshComponentMap::nop, and OGS_FATAL.