57 int main(
int argc,
char *argv[])
64 "treat input as containing hex instead of tet cells"
78 Info<<
"Trying to read " << nCells <<
" hexes." <<
nl <<
endl;
82 Info<<
"Trying to read " << nCells <<
" tets." <<
nl <<
endl;
95 for (
label celli = 0; celli < nCells; celli++)
99 mshStream >> hexPoints[
cp];
106 for (
label celli = 0; celli < nCells; celli++)
110 mshStream >> tetPoints[
cp];
130 mshStream >>
x >>
y >> z;
Various functions to operate on Lists.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual Ostream & write(const char)=0
Write character.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
bool optionFound(const word &opt) const
Return true if the named option is found.
static void noParallel()
Remove the parallel options.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
static const cellModel * lookup(const word &)
Look up a model by name and return a pointer to the model or nullptr.
An analytical geometric cellShape.
Mesh consisting of general polyhedral cells.
static word defaultRegion
Return the default region name.
int main(int argc, char *argv[])
List< word > wordList
A List of words.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOstream & hex(IOstream &io)
vector point
Point is a vector.
List< faceList > faceListList
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
Foam::argList args(argc, argv)