Skip to content
Snippets Groups Projects
Commit e5ca1c71 authored by Emmanuel Labourasse's avatar Emmanuel Labourasse
Browse files

Warning: do not compile

parent 0bdd557c
No related branches found
No related tags found
1 merge request!167Improve fluxing based remapping
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <scheme/DiscreteFunctionVectorInterpoler.hpp> #include <scheme/DiscreteFunctionVectorInterpoler.hpp>
#include <scheme/ExternalBoundaryConditionDescriptor.hpp> #include <scheme/ExternalBoundaryConditionDescriptor.hpp>
#include <scheme/FixedBoundaryConditionDescriptor.hpp> #include <scheme/FixedBoundaryConditionDescriptor.hpp>
#include <scheme/FluxingAdvectionSolver.hpp>
#include <scheme/FourierBoundaryConditionDescriptor.hpp> #include <scheme/FourierBoundaryConditionDescriptor.hpp>
#include <scheme/FreeBoundaryConditionDescriptor.hpp> #include <scheme/FreeBoundaryConditionDescriptor.hpp>
#include <scheme/HyperelasticSolver.hpp> #include <scheme/HyperelasticSolver.hpp>
...@@ -589,6 +590,13 @@ SchemeModule::SchemeModule() ...@@ -589,6 +590,13 @@ SchemeModule::SchemeModule()
} }
)); ));
this->_addBuiltinFunction("fluxing_advection", std::function(
[](const std::shared_ptr<const IMesh> new_mesh,
const std::shared_ptr<const DiscreteFunctionVariant>& old_q)
-> std::shared_ptr<const DiscreteFunctionVariant> {
return FluxingAdvectionSolverHandler(new_mesh, old_q);
}));
MathFunctionRegisterForVh{*this}; MathFunctionRegisterForVh{*this};
} }
......
...@@ -85,7 +85,7 @@ class FluxingAdvectionSolver ...@@ -85,7 +85,7 @@ class FluxingAdvectionSolver
FluxingAdvectionSolver(const std::shared_ptr<const MeshType> old_mesh, FluxingAdvectionSolver(const std::shared_ptr<const MeshType> old_mesh,
const std::shared_ptr<const MeshType> new_mesh, const std::shared_ptr<const MeshType> new_mesh,
const DiscreteFunctionP0<Dimension, const double>& old_q) const DiscreteFunctionP0<Dimension, const double>& old_q)
: m_old_mesh{old_mesh}, m_new_mesh{new_mesh}, m_old_q{old_q} : m_old_mesh{old_mesh}, m_new_mesh{new_mesh}
{} {}
~FluxingAdvectionSolver() = default; ~FluxingAdvectionSolver() = default;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment