Skip to content
Snippets Groups Projects
Commit 2f8cd6c3 authored by Tom Fischer's avatar Tom Fischer
Browse files

[PL/ConstraintDirichletBC] bulk_mesh isn't needed anymore.

parent 909e251c
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ void ConstraintDirichletBoundaryCondition::preTimestep(double t, ...@@ -129,7 +129,7 @@ void ConstraintDirichletBoundaryCondition::preTimestep(double t,
{ {
_flux_values[boundary_element->getID()] = _flux_values[boundary_element->getID()] =
_local_assemblers[boundary_element->getID()]->integrate( _local_assemblers[boundary_element->getID()]->integrate(
x, t, _bulk_mesh, x, t,
[this](std::size_t const element_id, [this](std::size_t const element_id,
MathLib::Point3d const& pnt, double const t, MathLib::Point3d const& pnt, double const t,
GlobalVector const& x) { GlobalVector const& x) {
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
default; default;
virtual double integrate( virtual double integrate(
GlobalVector const& x, double const t, MeshLib::Mesh const& bulk_mesh, GlobalVector const& x, double const t,
std::function<Eigen::Vector3d(std::size_t const, std::function<Eigen::Vector3d(std::size_t const,
MathLib::Point3d const&, double const, MathLib::Point3d const&, double const,
GlobalVector const&)> const& getFlux) = 0; GlobalVector const&)> const& getFlux) = 0;
...@@ -149,11 +149,10 @@ public: ...@@ -149,11 +149,10 @@ public:
/// @param x The global vector containing the values for numerical /// @param x The global vector containing the values for numerical
/// integration. /// integration.
/// @param t The point in time the the integration will be performed. /// @param t The point in time the the integration will be performed.
/// @param bulk_mesh The bulk mesh the process is defined on.
/// @param getFlux The function of the constraining process used to /// @param getFlux The function of the constraining process used to
/// calculate the flux. /// calculate the flux.
double integrate( double integrate(
GlobalVector const& x, double const t, MeshLib::Mesh const& bulk_mesh, GlobalVector const& x, double const t,
std::function<Eigen::Vector3d( std::function<Eigen::Vector3d(
std::size_t const, MathLib::Point3d const&, double const, std::size_t const, MathLib::Point3d const&, double const,
GlobalVector const&)> const& getFlux) override GlobalVector const&)> const& getFlux) override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment