Definition at line 23 of file GMSHLineLoop.h.
#include <GMSHLineLoop.h>
◆ GMSHLineLoop()
FileIO::GMSH::GMSHLineLoop::GMSHLineLoop |
( |
bool | is_sfc = false | ) |
|
|
explicit |
◆ ~GMSHLineLoop()
FileIO::GMSH::GMSHLineLoop::~GMSHLineLoop |
( |
| ) |
|
|
virtual |
Definition at line 24 of file GMSHLineLoop.cpp.
25{
26 const std::size_t n_lines(
_lines.size());
27 for (std::size_t k(0); k < n_lines; k++)
28 {
30 }
31}
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 33 of file GMSHLineLoop.cpp.
35{
36 const std::size_t n_lines(
_lines.size());
37 for (std::size_t k(0); k < n_lines; k++)
38 {
40 }
41 os << "Line Loop(" << line_offset + n_lines << ") = {";
42 for (std::size_t k(0); k < n_lines - 1; k++)
43 {
44 os << line_offset + k << ",";
45 }
46 os << line_offset + n_lines - 1 << "};\n";
47
49 {
50
51 os << "Plane Surface (" << sfc_offset << ") = {"
52 << line_offset + n_lines << "};\n";
53 }
54}
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: