G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
patchCorner Struct Reference

Detailed Description

Struct which represents a certain corner of a patch.

+ Inheritance diagram for patchCorner:
+ Collaboration diagram for patchCorner:

Public Member Functions

void getContainingSides (index_t dim, std::vector< boxSide > &sides) const
 returns a vector of sides containing the corner More...
 
void getContainingSides (short_t dim, std::vector< patchSide > &sides) const
 returns a vector of patchSides that contain this corner More...
 
boxCorneroperator++ ()
 set to next boxCorner
 
boxCorneroperator-- ()
 set to previous boxCorner
 
void parameters_into (index_t dim, gsVector< bool > &param) const
 returns a vector of parameters describing the position of the corner More...
 

Static Public Member Functions

static boxCorner getEnd (short_t dim)
 helper for iterating on corners of an n-dimensional box More...
 
static boxCorner getFirst (short_t)
 helper for iterating on corners of an n-dimensional box More...
 
static boxCorner getLast (short_t dim)
 helper for iterating on corners of an n-dimensional box More...
 

Public Attributes

index_t m_index
 Index of the corner. More...
 

Member Function Documentation

void getContainingSides ( index_t  dim,
std::vector< boxSide > &  sides 
) const
inlineinherited

returns a vector of sides containing the corner

Parameters
dimis the ambient dimension
sides
void getContainingSides ( short_t  dim,
std::vector< patchSide > &  sides 
) const
inline

returns a vector of patchSides that contain this corner

Parameters
dimis the ambient dimension
sides
static boxCorner getEnd ( short_t  dim)
inlinestaticinherited

helper for iterating on corners of an n-dimensional box

Parameters
dim
Returns
the (invalid) corners after the last one in dim-dimensional box
static boxCorner getFirst ( short_t  )
inlinestaticinherited

helper for iterating on corners of an n-dimensional box

Returns
the first valid corners in an dim-dimensional box
static boxCorner getLast ( short_t  dim)
inlinestaticinherited

helper for iterating on corners of an n-dimensional box

Parameters
dim
Returns
the last valid corners in an dim-dimensional box
void parameters_into ( index_t  dim,
gsVector< bool > &  param 
) const
inlineinherited

returns a vector of parameters describing the position of the corner

Parameters
dim
paramentry i is 1 if the corner is contained in box_face(i,1) and 0 if it is contained in box_face(i,0)

Member Data Documentation

index_t m_index
inherited

Index of the corner.

...stored as number, specified in boundary::corner