62 {
64
65
68 t);
69 unsigned const n_integration_points =
71
72 auto const indices =
74 std::vector<double> const local_values = x[process_id]->get(indices);
75 std::size_t const bulk_element_id =
77 std::size_t const bulk_face_id =
79 auto const& bulk_element =
81
82 for (unsigned ip = 0; ip < n_integration_points; ip++)
83 {
85 auto const&
N = n_and_weight.N;
86 auto const& w = n_and_weight.weight;
88
89 auto const bulk_element_point =
91
92 double int_pt_value = 0.0;
94
96 -boundary_permeability_node_values * int_pt_value *
99 _local_rhs.noalias() +=
N * neumann_node_values.dot(N) * w;
100 }
101
102 b.
add(indices, _local_rhs);
103 }
void add(IndexType rowId, double v)
add entry
std::size_t getID() const
Returns the ID of the element.
const Element * getElement(std::size_t idx) const
Get the element with the given index.
MathLib::WeightedPoint const & getWeightedPoint(unsigned const igp) const
unsigned getNumberOfPoints() const
MeshLib::Element const & _element
NumLib::GenericIntegrationMethod const & _integration_method
std::vector< NAndWeight, Eigen::aligned_allocator< NAndWeight > > const _ns_and_weights
typename Base::NodalVectorType NodalVectorType
MeshLib::Mesh & getMesh() const
virtual Eigen::Vector3d getFlux(std::size_t, MathLib::Point3d const &, double const, std::vector< GlobalVector * > const &) const
MathLib::Point3d getBulkElementPoint(MeshLib::CellType const bulk_element_cell_type, std::size_t const bulk_face_id, MathLib::WeightedPoint const &point_on_face)
void shapeFunctionInterpolate(const NodalValues &, const ShapeMatrix &)
std::vector< GlobalIndexType > getIndices(std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table)
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 & boundary_permeability
MeshLib::PropertyVector< std::size_t > const bulk_element_ids
MeshLib::PropertyVector< std::size_t > const bulk_face_ids