30 void Foam::surfaceFeaturesConfiguration::writeSurfaces()
43 void Foam::surfaceFeaturesConfiguration::writeSubsetFeatures()
45 beginDict(os_,
"subsetFeatures");
46 os_ <<
indent <<
"nonManifoldEdges yes;" <<
endl;
52 void Foam::surfaceFeaturesConfiguration::writeTrimFeatures()
54 beginDict(os_,
"trimFeatures");
68 const meshingSurfaceList& surfaces
71 caseFileConfiguration(
name, dir, time),
86 dict_.writeHeader(os_, word(
"dictionary"));
90 os_ <<
"includedAngle 150;" <<
nl <<
endl;
92 writeSubsetFeatures();
95 os_ <<
"writeObj yes;";
97 dict_.writeEndDivider(os_);
#define forAll(list, i)
Loop across all elements in list.
void endList(OFstream &os, bool newline=true)
Output stream to end a list.
OFstream os_
Output file stream to write file content.
void beginList(OFstream &os)
Output stream to begin a new list without name.
~surfaceFeaturesConfiguration()
Destructor.
surfaceFeaturesConfiguration(const fileName &name, const fileName &dir, const Time &time, const meshingSurfaceList &surfaces)
Construct from components.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
Ostream & indent(Ostream &os)
Indent stream.