PhyStar  v0.0.0 thu24
compgeo::SimpleCartBoxZone< 3 > Struct Reference

CartBoxZone 3-dimension. More...

#include <SimpleCartBoxZone.hpp>

Inheritance diagram for compgeo::SimpleCartBoxZone< 3 >:
Collaboration diagram for compgeo::SimpleCartBoxZone< 3 >:

Public Member Functions

 SimpleCartBoxZone ()
 default Construct a new Hex Zone object More...
 
 SimpleCartBoxZone (const int rk, const std::vector< std::vector< double >> &bds)
 Construct a new Hex Zone by points vector list. More...
 
 SimpleCartBoxZone (const int rk)
 Construct a new Hex Zone object. More...
 
double & bx (const int i)
 
double & by (const int i)
 
double & bz (const int i)
 
void SetBoundaryEdges (int i, const std::vector< double > &bd)
 Set the Node. More...
 
void SetBoundaryEdges (const std::vector< std::vector< double >> &bds)
 Set the Nodes by a point vector list. More...
 
int GetSize ()
 Get the size of nodes. More...
 
virtual bool IsInZone (const double p[])
 
virtual bool IsInVirtualZone (const double p[], const double r)
 
virtual bool IsInZoneWithExtendWidth (const double p[], const double r[])
 

Public Attributes

double b [2 *3]
 
- Public Attributes inherited from compgeo::ZoneBase
int rank
 

Detailed Description

CartBoxZone 3-dimension.

  • the order of the vertices(nodes) of 3D box
    ^ y
    |
    3_________________2
    
    /| /| / | / | 7/__|_____________6/ | | 0|_____________|___|1---—> x | / | / | / | / |/_______________|/ 4 5 |/_ z
    Template Parameters

Constructor & Destructor Documentation

◆ SimpleCartBoxZone() [1/3]

default Construct a new Hex Zone object

◆ SimpleCartBoxZone() [2/3]

compgeo::SimpleCartBoxZone< 3 >::SimpleCartBoxZone ( const int  rk,
const std::vector< std::vector< double >> &  bds 
)
inline

Construct a new Hex Zone by points vector list.

Parameters
rkwhich rank, when use mpi
points

References compgeo::ZoneBase::rank.

◆ SimpleCartBoxZone() [3/3]

compgeo::SimpleCartBoxZone< 3 >::SimpleCartBoxZone ( const int  rk)
inline

Construct a new Hex Zone object.

Parameters
rkwhich rank, when use mpi

References compgeo::ZoneBase::rank.

Member Function Documentation

◆ bx()

double& compgeo::SimpleCartBoxZone< 3 >::bx ( const int  i)
inline

◆ by()

double& compgeo::SimpleCartBoxZone< 3 >::by ( const int  i)
inline

◆ bz()

double& compgeo::SimpleCartBoxZone< 3 >::bz ( const int  i)
inline

◆ GetSize()

int compgeo::SimpleCartBoxZone< 3 >::GetSize ( )
inline

Get the size of nodes.

Returns
int

◆ IsInVirtualZone()

virtual bool compgeo::SimpleCartBoxZone< 3 >::IsInVirtualZone ( const double  p[],
const double  r 
)
inlinevirtual

Implements compgeo::ZoneBase.

References compgeo::eps, and compgeo::ZoneBase::IsInZone().

Here is the call graph for this function:

◆ IsInZone()

virtual bool compgeo::SimpleCartBoxZone< 3 >::IsInZone ( const double  p[])
inlinevirtual

Implements compgeo::ZoneBase.

◆ IsInZoneWithExtendWidth()

virtual bool compgeo::SimpleCartBoxZone< 3 >::IsInZoneWithExtendWidth ( const double  p[],
const double  r[] 
)
inlinevirtual

Implements compgeo::ZoneBase.

References compgeo::eps.

◆ SetBoundaryEdges() [1/2]

void compgeo::SimpleCartBoxZone< 3 >::SetBoundaryEdges ( const std::vector< std::vector< double >> &  bds)
inline

Set the Nodes by a point vector list.

Parameters
points

◆ SetBoundaryEdges() [2/2]

void compgeo::SimpleCartBoxZone< 3 >::SetBoundaryEdges ( int  i,
const std::vector< double > &  bd 
)
inline

Set the Node.

Parameters
iwhich node
point

Member Data Documentation

◆ b

double compgeo::SimpleCartBoxZone< 3 >::b[2 *3]

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