27 template <
typename ShapeFunction,
typename IntegrationMethod,
int GlobalDim>
30 ShapeFunction, IntegrationMethod, GlobalDim>
33 ShapeFunction, IntegrationMethod, GlobalDim>;
42 std::size_t
const local_matrix_size,
43 bool const is_axially_symmetric,
44 unsigned const integration_order,
46 :
Base(e, is_axially_symmetric, integration_order),
54 double const t, std::vector<GlobalVector*>
const& ,
60 unsigned const n_integration_points =
68 .template topRows<ShapeFunction::MeshElement::n_all_nodes>();
70 double integral_measure = 1.0;
71 for (
unsigned ip = 0; ip < n_integration_points; ip++)
74 auto const& N = ip_data.N;
75 auto const& w = ip_data.weight;
89 N * parameter_node_values.dot(N) * w * integral_measure;
Global vector based on Eigen vector.
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
NodalVectorType _local_rhs
NeumannBoundaryConditionLocalAssembler(MeshLib::Element const &e, std::size_t const local_matrix_size, bool const is_axially_symmetric, unsigned const integration_order, NeumannBoundaryConditionData const &data)
NeumannBoundaryConditionData const & _data
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
void assemble(std::size_t const id, NumLib::LocalToGlobalIndexMap const &dof_table_boundary, double const t, std::vector< GlobalVector * > const &, int const, GlobalMatrix &, GlobalVector &b, GlobalMatrix *) override
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 & neumann_bc_parameter
ParameterLib::Parameter< double > const *const integral_measure