Definition at line 15 of file GMSHLineLoop.h.
#include <GMSHLineLoop.h>
◆ GMSHLineLoop()
| FileIO::GMSH::GMSHLineLoop::GMSHLineLoop |
( |
bool | is_sfc = false | ) |
|
|
explicit |
◆ ~GMSHLineLoop()
| FileIO::GMSH::GMSHLineLoop::~GMSHLineLoop |
( |
| ) |
|
Definition at line 16 of file GMSHLineLoop.cpp.
17{
18 const std::size_t n_lines(
_lines.size());
19 for (std::size_t k(0); k < n_lines; k++)
20 {
22 }
23}
std::vector< GMSHLine * > _lines
References _lines.
◆ isSurface()
| bool FileIO::GMSH::GMSHLineLoop::isSurface |
( |
| ) |
const |
|
inline |
◆ setSurface()
| void FileIO::GMSH::GMSHLineLoop::setSurface |
( |
bool | is_sfc | ) |
|
|
inline |
◆ write()
| void FileIO::GMSH::GMSHLineLoop::write |
( |
std::ostream & | os, |
|
|
std::size_t | line_offset, |
|
|
std::size_t | sfc_offset = 0 ) const |
Definition at line 25 of file GMSHLineLoop.cpp.
27{
28 const std::size_t n_lines(
_lines.size());
29 for (std::size_t k(0); k < n_lines; k++)
30 {
32 }
33 os << "Line Loop(" << line_offset + n_lines << ") = {";
34 for (std::size_t k(0); k < n_lines - 1; k++)
35 {
36 os << line_offset + k << ",";
37 }
38 os << line_offset + n_lines - 1 << "};\n";
39
41 {
42
43 os << "Plane Surface (" << sfc_offset << ") = {"
44 << line_offset + n_lines << "};\n";
45 }
46}
void write(std::ostream &os, std::size_t line_offset, std::size_t sfc_offset=0) const
References _is_sfc, _lines, and write().
Referenced by write().
◆ _is_sfc
| bool FileIO::GMSH::GMSHLineLoop::_is_sfc |
|
private |
◆ _lines
| std::vector<GMSHLine*> FileIO::GMSH::GMSHLineLoop::_lines |
|
private |
The documentation for this class was generated from the following files: