Go to the documentation of this file.
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++)
130 mshStream >>
x >>
y >> z;
static SLList< string > validArgs
A list of valid (mandatory) arguments.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word defaultRegion
Return the default region name.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool cp(const fileName &src, const fileName &dst)
Copy, recursively if necessary, the source to the destination.
Mesh consisting of general polyhedral cells.
List< word > wordList
A List of words.
virtual bool write() const
Write mesh using IO settings from time.
List< faceList > faceListList
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
static const cellModel * lookup(const word &)
Look up a model by name and return a pointer to the model or NULL.
int main(int argc, char *argv[])
An analytical geometric cellShape.
IOstream & hex(IOstream &io)
Tet storage. Null constructable (unfortunately tetrahedron<point, point> is not)
Xfer< T > xferMove(T &)
Construct by transferring the contents of the arg.
bool optionFound(const word &opt) const
Return true if the named option is found.
Various functions to operate on Lists.
Maps a geometry to a set of cell primitives, which enables geometric cell data to be calculated witho...
vector point
Point is a vector.
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)