Skip to content
Snippets Groups Projects
Commit f5979379 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add symmetry boundary conditions

Still requires a lot improvements
parent 0874c7db
No related branches found
No related tags found
No related merge requests found
......@@ -319,6 +319,48 @@ SchemeModule::SchemeModule()
));
this->_addBuiltinFunction("smoothMeshEscobar",
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> {
MeshSmootherEscobarHandler handler;
return handler.getSmoothedMesh(p_mesh, bc_descriptor_list, function_symbol_id);
}
));
this->_addBuiltinFunction("smoothMeshEscobar",
std::function(
[](std::shared_ptr<const IMesh> p_mesh,
const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>&
bc_descriptor_list,
const std::vector<std::shared_ptr<const IZoneDescriptor>>& smoothing_zone_list)
-> std::shared_ptr<const IMesh> {
MeshSmootherEscobarHandler handler;
return handler.getSmoothedMesh(p_mesh, bc_descriptor_list, smoothing_zone_list);
}
));
this->_addBuiltinFunction("smoothMeshEscobar",
std::function(
[](std::shared_ptr<const IMesh> p_mesh,
const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>&
bc_descriptor_list,
const std::vector<std::shared_ptr<const DiscreteFunctionVariant>>&
discrete_function_variant_list) -> std::shared_ptr<const IMesh> {
MeshSmootherEscobarHandler handler;
return handler.getSmoothedMesh(p_mesh, bc_descriptor_list,
discrete_function_variant_list);
}
));
this->_addBuiltinFunction("qualityEscobar",
std::function(
#warning REMOVE BEFORE MERGING
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment