Chi-Tech
SnapToPlaneMeshModifier.h
Go to the documentation of this file.
1#ifndef CHITECH_CHI_MESH_SNAPTOPLANEMESHMODIFIER_H
2#define CHITECH_CHI_MESH_SNAPTOPLANEMESHMODIFIER_H
3
4#include "MeshModifier.h"
5
6#include "mesh/chi_mesh.h"
7
8namespace chi_mesh
9{
10
11/**Object that will modify boundary elements that are close to the specified
12* direction to become perfectly aligned with that direction.*/
14{
15public:
18 const chi::InputParameters& params);
19
20 void Apply() override;
21
22protected:
25 const bool boundary_nodes_only_ = true;
26 const bool check_face_alignment_ = false;
27 const double tol_ = 1.0e-5;
28};
29
30} // namespace chi_mesh
31
32#endif // CHITECH_CHI_MESH_SNAPTOPLANEMESHMODIFIER_H
static chi::InputParameters GetInputParameters()
SnapToPlaneMeshModifier(const chi::InputParameters &params)