61 <<
"Inconsistent data list size - expect size 3"
66 data[1][bini] +=
n*(v &
n);
67 data[2][bini] += v -
n*(v &
n);
82 if (
dict.
found(coordinateSystem::typeName_()))
89 coordinateSystem::typeName_()
92 Info<<
"Setting co-ordinate system:" <<
nl
93 <<
" - type : " << coordSysPtr_->name() <<
nl
94 <<
" - origin : " << coordSysPtr_->origin() <<
nl
95 <<
" - e3 : " << coordSysPtr_->e3() <<
nl
96 <<
" - e1 : " << coordSysPtr_->e1() <<
endl;
131 const word& outputPrefix
134 writeFile(
mesh, outputPrefix),
136 decomposePatchValues_(false),
151 patchSet_ = mesh_.boundaryMesh().patchSet(
dict.
get<
wordRes>(
"patches"));
160 const labelList czi(mesh_.cellZones().indices(cz));
172 if (czUnmatched.
size())
175 <<
"Unable to find zone(s): " << czUnmatched <<
nl
176 <<
"Valid cellZones are : " << mesh_.cellZones().sortedNames()
180 cellZoneIDs_.transfer(
zoneIDs);
183 decomposePatchValues_ =
dict.
get<
bool>(
"decomposePatchValues");
185 filePtrs_.setSize(fieldNames_.size());
188 filePtrs_.set(i, createFile(fieldNames_[i] +
"Bin"));
191 setCoordinateSystem(
dict);
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void append(const T &val)
Copy append an element to the end of this list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void append(const T &val)
Append an element at the end of the list.
virtual bool read()
Re-read model coefficients if they have changed.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
bool empty() const noexcept
True if the UList is empty (ie, size() is zero)
void size(const label n)
Older name for setAddressableSize.
Base class for bin models to handle general bin characteristics.
bool decomposePatchValues(List< List< Type > > &data, const label bini, const Type &v, const vector &n) const
bool decomposePatchValues_
Decompose patch values into normal and tangential components.
void setCoordinateSystem(const dictionary &dict, const word &e3Name=word::null, const word &e1Name=word::null)
Set the co-ordinate system from dictionary and axes names.
A Cartesian coordinate system.
Database for solution data, solver performance and other reduced data.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void movePoints()
Update for new mesh geometry.
void updateMesh()
Update for new mesh topology.
Mesh consisting of general polyhedral cells.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const labelIOList & zoneIDs
#define WarningInFunction
Report a warning using Foam::Warning.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
constexpr char nl
The newline '\n' character (0x0a)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.