Go to the documentation of this file.
76 if (isA<cyclicAMIPolyPatch>(pbm[patchI]))
79 refCast<const cyclicAMIPolyPatch>(pbm[patchI]);
83 Info<<
"Calculating AMI weights between owner patch: "
84 << cpp.
name() <<
" and neighbour patch: "
113 int main(
int argc,
char *argv[])
130 Info<<
"Writing VTK files with weights of AMI patches." <<
nl <<
endl;
140 while (runTime.loop())
142 Info<<
"Time = " << runTime.timeName() <<
endl;
161 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
162 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
PIMPLE control class to supply convergence information/checks for the PIMPLE loop.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
virtual bool owner() const
Does this side own the patch?
A class for handling words, derived from string.
A class for handling file names.
virtual bool update()=0
Update the mesh for both mesh motion and topology change.
bool checkMesh(const bool report=false) const
Check mesh for correctness. Returns false for no error.
#define forAll(list, i)
Loop across all elements in list.
const scalarField & tgtWeightsSum() const
Return const access to normalisation factor of target.
const Field< PointType > & localPoints() const
Return pointField of points in patch.
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const =0
General entry point for writing.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
const scalarField & srcWeightsSum() const
Return const access to normalisation factor of source.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Mesh consisting of general polyhedral cells.
Pre-declare SubField and related Field type.
int main(int argc, char *argv[])
virtual const cyclicAMIPolyPatch & neighbPatch() const
Return a reference to the neighbour patch.
Base class for graphics format writing. Entry points are.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
bool optionFound(const word &opt) const
Return true if the named option is found.
const Time & time() const
Return the top-level database.
const List< Face > & localFaces() const
Return patch faces addressing into local point list.
const dictionary & pimple
A surfaceWriter for VTK legacy format.
Foam::argList args(argc, argv)
const word & name() const
Return name.
word name(const complex &)
Return a string representation of a complex.
A list of faces which address into the list of points.
Cyclic patch for Arbitrary Mesh Interface (AMI)