![]() |
NLMech
0.1.0
|
Namespace for simple mesh generation. More...
Functions | |
| void | fe1D (const std::string &filename) |
| Generate uniform mesh in 1-d and writes the data to files specified in input filename. More... | |
| void | fe2D (const std::string &filename) |
| Generates uniform mesh in 2-d and writes the data to files specified in input filename. More... | |
| void | uniformSquare (const std::string &filename) |
| Generates uniform square mesh in 2-d and writes the data to files specified in input filename. More... | |
| void | uniformTri (const std::string &filename) |
| Generates uniform triangular mesh in 2-d and writes the data to files specified in input filename. More... | |
| void | uniformTriSym (const std::string &filename) |
| Generates uniform symmetric triangular mesh in 2-d and writes the data to files specified in input filename. More... | |
Namespace for simple mesh generation.
In this namespace we define the methods for generating simple finite element/finite difference mesh in 1-d and 2-d. For finite element, we can specify three types of triangular mesh which differ in how we create triangle on uniform grid.
| void tools::mesh::fe1D | ( | const std::string & | filename | ) |
Generate uniform mesh in 1-d and writes the data to files specified in input filename.
| filename | Name of YAML input file |
| void tools::mesh::fe2D | ( | const std::string & | filename | ) |
Generates uniform mesh in 2-d and writes the data to files specified in input filename.
| filename | Name of YAML input file |

| void tools::mesh::uniformSquare | ( | const std::string & | filename | ) |
Generates uniform square mesh in 2-d and writes the data to files specified in input filename.
| filename | Name of YAML input file |
Referenced by fe2D().


| void tools::mesh::uniformTri | ( | const std::string & | filename | ) |
Generates uniform triangular mesh in 2-d and writes the data to files specified in input filename.
| filename | Name of YAML input file |
Referenced by fe2D().


| void tools::mesh::uniformTriSym | ( | const std::string & | filename | ) |
Generates uniform symmetric triangular mesh in 2-d and writes the data to files specified in input filename.
| filename | Name of YAML input file |
Referenced by fe2D().

