template<typename ShapeFunction, typename IntegrationMethod, int GlobalDim>
class ProcessLib::RobinBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >
Definition at line 27 of file RobinBoundaryConditionLocalAssembler.h.
template<typename ShapeFunction , typename IntegrationMethod , int GlobalDim>
Implements ProcessLib::GenericNaturalBoundaryConditionLocalAssemblerInterface.
Definition at line 49 of file RobinBoundaryConditionLocalAssembler.h.
58 unsigned const n_integration_points =
63 .template topRows<ShapeFunction::MeshElement::n_all_nodes>();
66 .template topRows<ShapeFunction::MeshElement::n_all_nodes>();
68 for (
unsigned ip = 0; ip < n_integration_points; ++ip)
71 auto const&
N = ip_data.N;
72 auto const& w = ip_data.weight;
81 double integral_measure = 1.0;
91 N *
alpha.dot(N) * w * integral_measure;
93 N *
alpha.dot(N) * u_0.dot(N) * w * integral_measure;
int add(IndexType row, IndexType col, double val)
void add(IndexType rowId, double v)
add entry
virtual std::size_t getID() const final
Returns the ID of the element.
MeshLib::Element const & _element
IntegrationMethod const _integration_method
typename ShapeMatricesType::NodalVectorType NodalVectorType
std::vector< NAndWeight, Eigen::aligned_allocator< NAndWeight > > const _ns_and_weights
ShapeMatrixPolicyType< ShapeFunction, GlobalDim > ShapeMatricesType
MathLib::TemplatePoint< double, 3 > Point3d
std::vector< GlobalIndexType > getIndices(std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table)
std::array< double, 3 > interpolateCoordinates(MeshLib::Element const &e, typename ShapeMatricesType::ShapeMatrices::ShapeType const &N)
virtual Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > getNodalValuesOnElement(MeshLib::Element const &element, double const t) const
Returns a matrix of values for all nodes of the given element.
ParameterLib::Parameter< double > const *const integral_measure
ParameterLib::Parameter< double > const & alpha
ParameterLib::Parameter< double > const & u_0
References ProcessLib::RobinBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::_data, ProcessLib::GenericNaturalBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::_element, ProcessLib::GenericNaturalBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::_integration_method, ProcessLib::RobinBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::_local_K, ProcessLib::RobinBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::_local_rhs, ProcessLib::GenericNaturalBoundaryConditionLocalAssembler< ShapeFunction, IntegrationMethod, GlobalDim >::_ns_and_weights, MathLib::EigenMatrix::add(), MathLib::EigenVector::add(), MaterialPropertyLib::alpha, ProcessLib::RobinBoundaryConditionData::alpha, MeshLib::Element::getID(), NumLib::getIndices(), ParameterLib::Parameter< T >::getNodalValuesOnElement(), ProcessLib::RobinBoundaryConditionData::integral_measure, NumLib::interpolateCoordinates(), and ProcessLib::RobinBoundaryConditionData::u_0.