Chi-Tech
FromFileMeshGenerator.h
Go to the documentation of this file.
1#ifndef CHITECH_FROMFILEMESHGENERATOR_H
2#define CHITECH_FROMFILEMESHGENERATOR_H
3
4#include "MeshGenerator.h"
5
6namespace chi_mesh
7{
8
10{
11public:
13 explicit FromFileMeshGenerator(const chi::InputParameters& params);
14
15protected:
16 std::unique_ptr<UnpartitionedMesh> GenerateUnpartitionedMesh(
17 std::unique_ptr<UnpartitionedMesh> input_umesh) override;
18 const std::string filename_;
19 const std::string material_id_fieldname_;
20 const std::string boundary_id_fieldname_;
21};
22
23} // namespace chi_mesh
24
25#endif // CHITECH_FROMFILEMESHGENERATOR_H
std::unique_ptr< UnpartitionedMesh > GenerateUnpartitionedMesh(std::unique_ptr< UnpartitionedMesh > input_umesh) override
static chi::InputParameters GetInputParameters()
FromFileMeshGenerator(const chi::InputParameters &params)