PhyStar  v0.0.0 thu24
ibm::mshio::GmshReader< N_dim, T_real > Struct Template Reference

#include <GmshReader.hpp>

Collaboration diagram for ibm::mshio::GmshReader< N_dim, T_real >:

Classes

struct  Elm
 
struct  Node
 

Public Member Functions

 GmshReader ()
 
auto Read (std::string filename, bool isline=false)
 
void MeshFormatRead (std::ifstream &fin)
 
void NodesRead (std::ifstream &fin)
 
void ElmsRead (std::ifstream &fin)
 
auto Print ()
 
auto Centroid ()
 
T_real MeanArea ()
 
T_real Distance (T_real n0[], T_real n1[], int dim=N_dim)
 

Public Attributes

std::vector< Nodenodelist
 
std::vector< Elmelmlist
 
int num_of_nodes = 0
 
int num_of_elms = 0
 
bool is_3dline = 0
 

Static Public Attributes

static constexpr bool IS3DLINE = true
 
static constexpr bool ISNOT3DLINE = false
 

Constructor & Destructor Documentation

◆ GmshReader()

template<int N_dim, typename T_real = double>
ibm::mshio::GmshReader< N_dim, T_real >::GmshReader ( )
inline

Member Function Documentation

◆ Centroid()

template<int N_dim, typename T_real = double>
auto ibm::mshio::GmshReader< N_dim, T_real >::Centroid ( )
inline

References ibm::mshio::GmshReader< N_dim, T_real >::Distance(), ibm::mshio::GmshReader< N_dim, T_real >::elmlist, and ibm::mshio::GmshReader< N_dim, T_real >::nodelist.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Distance()

template<int N_dim, typename T_real = double>
T_real ibm::mshio::GmshReader< N_dim, T_real >::Distance ( T_real  n0[],
T_real  n1[],
int  dim = N_dim 
)
inline
Here is the caller graph for this function:

◆ ElmsRead()

◆ MeanArea()

template<int N_dim, typename T_real = double>
T_real ibm::mshio::GmshReader< N_dim, T_real >::MeanArea ( )
inline

References ibm::mshio::GmshReader< N_dim, T_real >::elmlist.

Here is the caller graph for this function:

◆ MeshFormatRead()

template<int N_dim, typename T_real = double>
void ibm::mshio::GmshReader< N_dim, T_real >::MeshFormatRead ( std::ifstream &  fin)
inline

References ibm::mshio::GmshGetline().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NodesRead()

template<int N_dim, typename T_real = double>
void ibm::mshio::GmshReader< N_dim, T_real >::NodesRead ( std::ifstream &  fin)
inline

◆ Print()

template<int N_dim, typename T_real = double>
auto ibm::mshio::GmshReader< N_dim, T_real >::Print ( )
inline

◆ Read()

template<int N_dim, typename T_real = double>
auto ibm::mshio::GmshReader< N_dim, T_real >::Read ( std::string  filename,
bool  isline = false 
)
inline

Member Data Documentation

◆ elmlist

template<int N_dim, typename T_real = double>
std::vector<Elm> ibm::mshio::GmshReader< N_dim, T_real >::elmlist

◆ IS3DLINE

template<int N_dim, typename T_real = double>
constexpr bool ibm::mshio::GmshReader< N_dim, T_real >::IS3DLINE = true
inlinestaticconstexpr

◆ is_3dline

template<int N_dim, typename T_real = double>
bool ibm::mshio::GmshReader< N_dim, T_real >::is_3dline = 0

◆ ISNOT3DLINE

template<int N_dim, typename T_real = double>
constexpr bool ibm::mshio::GmshReader< N_dim, T_real >::ISNOT3DLINE = false
inlinestaticconstexpr

◆ nodelist

template<int N_dim, typename T_real = double>
std::vector<Node> ibm::mshio::GmshReader< N_dim, T_real >::nodelist

◆ num_of_elms

template<int N_dim, typename T_real = double>
int ibm::mshio::GmshReader< N_dim, T_real >::num_of_elms = 0

◆ num_of_nodes

template<int N_dim, typename T_real = double>
int ibm::mshio::GmshReader< N_dim, T_real >::num_of_nodes = 0

The documentation for this struct was generated from the following file: