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

Class surfaceFormatsCore

src/surfMesh/surfaceFormats/surfaceFormatsCore.H:61–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59\*---------------------------------------------------------------------------*/
60
61class surfaceFormatsCore
62{
63protected:
64
65 //- Return a list with a single entry,
66 // the size corresponds to that of the container
67 template<class Container>
68 static List<surfZone> oneZone
69 (
70 const Container& container,
71 const word& name = "zone0"
72 )
73 {
74 return List<surfZone>(1, surfZone(name, container.size(), 0, 0));
75 }
76
77 //- Read non-comment line
78 static string getLineNoComment(IFstream&);
79
80
81public:
82
83 // Static Data
84
85 //- The file extension corresponding to 'native' surface format
86 // Normally "ofs" (mnemonic: OF = OpenFOAM, S = Surface)
87 static word nativeExt;
88
89
90 // Static Member Functions
91
92 static bool checkSupport
93 (
94 const wordHashSet& available,
95 const word& ext,
96 const bool verbose,
97 const word& functionName
98 );
99
100 //- Return the local file name (within time directory)
101 // NEEDS FIXING
102 static fileName localMeshFileName(const word& surfName="");
103
104 //- Find instance with surfName
105 // NEEDS FIXING
106 static fileName findMeshInstance(const Time&, const word& surfName="");
107
108 //- Find mesh file with surfName
109 // NEEDS FIXING
110 static fileName findMeshFile(const Time&, const word& surfName="");
111
112
113 // Constructors
114
115 //- Construct null
116 surfaceFormatsCore();
117
118

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected