star.H File Reference
Include dependency graph for star.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  star
 Engine for constructing a star-shaped domain by walking. More...
 
struct  star::edgeLink
 Star-edge structure. Poor man's linked list link. More...
 
class  star::context
 Context class. Returned by populate and resets the star when it. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define forAllStarFaces(star, starFacei, facei)
 
#define forAllStarEdges(star, i, starEdgei, edgei)
 

Functions

bool operator== (const star::edgeLink &elA, const star::edgeLink &elB)
 
bool operator!= (const star::edgeLink &elA, const star::edgeLink &elB)
 
Ostream & operator<< (Ostream &os, const star::edgeLink &el)
 

Detailed Description

Original source file star.H

Definition in file star.H.

Macro Definition Documentation

◆ forAllStarFaces

#define forAllStarFaces (   star,
  starFacei,
  facei 
)
Value:
for \
( \
label starFacei = 0, \
facei = \
( \
star.starFaceFaces().size() > 0 \
? (star).starFaceFaces()[starFacei] \
: -1 \
); \
starFacei < star.starFaceFaces().size(); \
++ starFacei, \
facei = \
( \
starFacei < (star).starFaceFaces().size() \
? (star).starFaceFaces()[starFacei] \
: -1 \
) \
)

Definition at line 219 of file star.H.

◆ forAllStarEdges

#define forAllStarEdges (   star,
  i,
  starEdgei,
  edgei 
)
Value:
for \
( \
label i = 0, \
starEdgei = 0, \
edgei = \
( \
(star).starEdgeEdges().size() > 0 \
? (star).starEdgeEdges()[0].edgei_ \
: -1 \
); \
i < (star).starEdgeEdges().size(); \
++ i, \
starEdgei = (star).starEdgeEdges()[starEdgei].starEdgei1_, \
edgei = \
( \
starEdgei != -1 \
? (star).starEdgeEdges()[starEdgei].edgei_ \
: -1 \
) \
)

Definition at line 240 of file star.H.