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

Add skeleton for smoother

parent a143de69
No related branches found
No related tags found
1 merge request!167Improve fluxing based remapping
......@@ -16,6 +16,7 @@
#include <mesh/MeshData.hpp>
#include <mesh/MeshDataManager.hpp>
#include <mesh/MeshRandomizer.hpp>
#include <mesh/MeshSmoother.hpp>
#include <scheme/AcousticSolver.hpp>
#include <scheme/AxisBoundaryConditionDescriptor.hpp>
#include <scheme/DirichletBoundaryConditionDescriptor.hpp>
......@@ -239,6 +240,30 @@ SchemeModule::SchemeModule()
));
this->_addBuiltinFunction("smoothMesh", std::function(
[](std::shared_ptr<const IMesh> p_mesh,
const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>&
bc_descriptor_list) -> std::shared_ptr<const IMesh> {
MeshSmootherHandler handler;
return handler.getSmoothedMesh(*p_mesh, bc_descriptor_list);
}
));
this->_addBuiltinFunction("smoothMesh",
std::function(
[](std::shared_ptr<const IMesh> p_mesh,
const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>&
bc_descriptor_list,
const FunctionSymbolId& function_symbol_id) -> std::shared_ptr<const IMesh> {
MeshSmootherHandler handler;
return handler.getSmoothedMesh(*p_mesh, bc_descriptor_list, function_symbol_id);
}
));
this->_addBuiltinFunction("fixed", std::function(
[](std::shared_ptr<const IBoundaryDescriptor> boundary)
......
......@@ -34,5 +34,6 @@ add_library(
MeshLineNodeBoundary.cpp
MeshNodeBoundary.cpp
MeshRandomizer.cpp
MeshSmoother.cpp
MeshTransformer.cpp
SynchronizerManager.cpp)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment