SPHinXsys  alpha version
Public Member Functions | Public Attributes | List of all members
SPH::Edge< InEdgeType, OutEdgeType > Class Template Reference

template base class of linear structure only with topology information. Note that a edge is defined together with a structure which is composed of edges. Such structure should have an interface function ContainerSize() returning the curent total amount of edges. More...

#include <base_geometry.h>

Public Member Functions

template<class EdgeStructureType >
 Edge (EdgeStructureType *structure)
 
template<class EdgeStructureType >
 Edge (InEdgeType in_edge, EdgeStructureType *structure)
 

Public Attributes

size_t id_
 
InEdgeType in_edge_
 
OutEdgeType out_edge_
 

Detailed Description

template<typename InEdgeType, typename OutEdgeType>
class SPH::Edge< InEdgeType, OutEdgeType >

template base class of linear structure only with topology information. Note that a edge is defined together with a structure which is composed of edges. Such structure should have an interface function ContainerSize() returning the curent total amount of edges.

Constructor & Destructor Documentation

◆ Edge() [1/2]

template<typename InEdgeType, typename OutEdgeType>
template<class EdgeStructureType >
SPH::Edge< InEdgeType, OutEdgeType >::Edge ( EdgeStructureType *  structure)
inlineexplicit

constructor without specifying a leading-in edge

◆ Edge() [2/2]

template<typename InEdgeType, typename OutEdgeType>
template<class EdgeStructureType >
SPH::Edge< InEdgeType, OutEdgeType >::Edge ( InEdgeType  in_edge,
EdgeStructureType *  structure 
)
inline

constructor with specifying a leading-in edge

Member Data Documentation

◆ id_

template<typename InEdgeType, typename OutEdgeType>
size_t SPH::Edge< InEdgeType, OutEdgeType >::id_

id of this edge

◆ in_edge_

template<typename InEdgeType, typename OutEdgeType>
InEdgeType SPH::Edge< InEdgeType, OutEdgeType >::in_edge_

id(s) of parent edge(s)

◆ out_edge_

template<typename InEdgeType, typename OutEdgeType>
OutEdgeType SPH::Edge< InEdgeType, OutEdgeType >::out_edge_

id(s) of child edge(s)


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