MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / coordSet

Class coordSet

src/fileFormats/coordSet/coordSet.H:50–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48\*---------------------------------------------------------------------------*/
49
50class coordSet
51:
52 public pointField
53{
54
55public:
56
57 // Public data types
58
59 //- Enumeration defining the output format for coordinates
60 enum coordFormat
61 {
62 XYZ,
63 X,
64 Y,
65 Z,
66 DISTANCE
67 };
68
69
70private:
71
72 //- String representation of coordFormat enums
73 static const NamedEnum<coordFormat, 5> coordFormatNames_;
74
75
76protected:
77
78 //- Name
79 const word name_;
80
81 //- Axis write type
82 const coordFormat axis_;
83
84 //- Cumulative distance "distance" write specifier.
85 scalarList curveDist_;
86
87
88public:
89
90 // Constructors
91
92 //- Construct from components
93 coordSet
94 (
95 const word& name,
96 const word& axis
97 );
98
99
100 //- Construct from components
101 coordSet
102 (
103 const word& name,
104 const word& axis,
105 const List<point>& points,
106 const scalarList& curveDist
107 );

Callers 4

mainFunction · 0.50
combineSampledSetsFunction · 0.50
sampledSet.CFile · 0.50
writeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected