template<typename ShapeFunction, typename LowerOrderShapeFunction, int GlobalDim>
class ProcessLib::PythonBoundaryConditionLocalAssembler< ShapeFunction, LowerOrderShapeFunction, GlobalDim >
Definition at line 21 of file PythonBoundaryConditionLocalAssembler.h.
template<typename ShapeFunction , typename LowerOrderShapeFunction , int GlobalDim>
Interpolates the given component of the given variable to the given local_node_id
.
The local_node_id
is the number of the node within the current boundary element.
Implements ProcessLib::PythonBoundaryConditionLocalAssemblerInterface.
Definition at line 50 of file PythonBoundaryConditionLocalAssembler.h.
54 {
55 if constexpr (ShapeFunction::ORDER < 2 ||
56 LowerOrderShapeFunction::ORDER > 1)
57 {
58 return std::numeric_limits<double>::quiet_NaN();
59 }
60 else
61 {
63
64 auto const nodal_values_base_node =
68 impl_.bc_or_st_data.bc_or_st_mesh.getID(),
69 dof_table_boundary, x, var, comp);
70
71 return N * nodal_values_base_node;
72 }
73 }
Traits::LowerOrderShapeMatrix computeLowerOrderShapeMatrix(unsigned const local_node_id) const
Eigen::VectorXd collectDofsToMatrixOnBaseNodesSingleComponent(MeshLib::Element const &element, std::size_t const mesh_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, int const variable, int const component)
References ProcessLib::BoundaryConditionAndSourceTerm::Python::collectDofsToMatrixOnBaseNodesSingleComponent(), ProcessLib::PythonBoundaryConditionLocalAssembler< ShapeFunction, LowerOrderShapeFunction, GlobalDim >::computeLowerOrderShapeMatrix(), and ProcessLib::PythonBoundaryConditionLocalAssembler< ShapeFunction, LowerOrderShapeFunction, GlobalDim >::impl_.