Chi-Tech
OrthogonalMeshGenerator.h
Go to the documentation of this file.
1#ifndef CHITECH_ORTHOGONALMESHGENERATOR_H
2#define CHITECH_ORTHOGONALMESHGENERATOR_H
3
4#include "MeshGenerator.h"
5
6namespace chi_mesh
7{
8
10{
11public:
13 explicit OrthogonalMeshGenerator(const chi::InputParameters& params);
14
15protected:
16 std::unique_ptr<UnpartitionedMesh> GenerateUnpartitionedMesh(
17 std::unique_ptr<UnpartitionedMesh> input_umesh) override;
18
19 static std::unique_ptr<UnpartitionedMesh>
20 CreateUnpartitioned1DOrthoMesh(const std::vector<double>& vertices);
21
22 static std::unique_ptr<UnpartitionedMesh>
23 CreateUnpartitioned2DOrthoMesh(const std::vector<double>& vertices_1d_x,
24 const std::vector<double>& vertices_1d_y);
25
26 static std::unique_ptr<UnpartitionedMesh>
27 CreateUnpartitioned3DOrthoMesh(const std::vector<double>& vertices_1d_x,
28 const std::vector<double>& vertices_1d_y,
29 const std::vector<double>& vertices_1d_z);
30
31 std::vector<std::vector<double>> node_sets_;
32};
33
34} // namespace chi_mesh
35
36#endif // CHITECH_ORTHOGONALMESHGENERATOR_H
static std::unique_ptr< UnpartitionedMesh > CreateUnpartitioned1DOrthoMesh(const std::vector< double > &vertices)
std::vector< std::vector< double > > node_sets_
static chi::InputParameters GetInputParameters()
std::unique_ptr< UnpartitionedMesh > GenerateUnpartitionedMesh(std::unique_ptr< UnpartitionedMesh > input_umesh) override
OrthogonalMeshGenerator(const chi::InputParameters &params)
static std::unique_ptr< UnpartitionedMesh > CreateUnpartitioned2DOrthoMesh(const std::vector< double > &vertices_1d_x, const std::vector< double > &vertices_1d_y)
static std::unique_ptr< UnpartitionedMesh > CreateUnpartitioned3DOrthoMesh(const std::vector< double > &vertices_1d_x, const std::vector< double > &vertices_1d_y, const std::vector< double > &vertices_1d_z)