OGS
FileIO::GMSH::GMSHLine Class Referencefinal

Detailed Description

Definition at line 22 of file GMSHLine.h.

#include <GMSHLine.h>

Public Member Functions

 GMSHLine (std::size_t start_point_id, std::size_t end_point_id)
 
void write (std::ostream &os, std::size_t id) const
 

Private Attributes

std::size_t _start_pnt_id
 
std::size_t _end_pnt_id
 

Constructor & Destructor Documentation

◆ GMSHLine()

FileIO::GMSH::GMSHLine::GMSHLine ( std::size_t start_point_id,
std::size_t end_point_id )

Definition at line 20 of file GMSHLine.cpp.

21 : _start_pnt_id(start_point_id), _end_pnt_id(end_point_id)
22{
23}
std::size_t _start_pnt_id
Definition GMSHLine.h:28
std::size_t _end_pnt_id
Definition GMSHLine.h:29

Member Function Documentation

◆ write()

void FileIO::GMSH::GMSHLine::write ( std::ostream & os,
std::size_t id ) const

Definition at line 25 of file GMSHLine.cpp.

26{
27 os << "Line(" << id << ") = {" << _start_pnt_id << "," << _end_pnt_id
28 << "};\n";
29}

References _end_pnt_id, and _start_pnt_id.

Member Data Documentation

◆ _end_pnt_id

std::size_t FileIO::GMSH::GMSHLine::_end_pnt_id
private

Definition at line 29 of file GMSHLine.h.

Referenced by write().

◆ _start_pnt_id

std::size_t FileIO::GMSH::GMSHLine::_start_pnt_id
private

Definition at line 28 of file GMSHLine.h.

Referenced by write().


The documentation for this class was generated from the following files: