G+Smo  23.12.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsMPBESBasis< d, T >::distances Struct Reference

Detailed Description

template<short_t d, class T>
struct gismo::gsMPBESBasis< d, T >::distances

Private stract that has the purpose of storing distance information of c^0 parts around special vertices.

One struct ressembles an edge between to vertices, which is able to provide the distance at both its ends.

+ Collaboration diagram for gsMPBESBasis< d, T >::distances:

Public Member Functions

void _determineValues (patchSide side, patchSide ls, patchSide rs, index_t dist, unsigned degree, unsigned max, unsigned &left, unsigned &right, const gsMPBESBasis< d, T > &basis) const
 determines the right values for the two distances, only used in the constructer
 
 distances (const boundaryInterface &iface, const patchCorner &pc1, const patchCorner &pc2, const gsMPBESBasis< d, T > &basis)
 
getParamDist (const patchCorner &pc, const gsMPBESBasis< d, T > &basis) const
 gets the parametric distance from the corner pc
 
bool isDistancesOfInterface (const boundaryInterface &bi) const
 checks if this distances struct ressembles the interface given
 
void setParamDist (unsigned absoluteVal, const patchCorner &pc, const gsMPBESBasis< d, T > &basis)
 

Constructor & Destructor Documentation

distances ( const boundaryInterface iface,
const patchCorner pc1,
const patchCorner pc2,
const gsMPBESBasis< d, T > &  basis 
)

Construct distances by a given interface, two patchCorners and the associated gsMappedBasis

Member Function Documentation

void setParamDist ( unsigned  absoluteVal,
const patchCorner pc,
const gsMPBESBasis< d, T > &  basis 
)

sets the parametric distance of the edge starting from pc to get the c^0 distance from absoluteVal basisfunctions.