74 template<
class TrackingData>
108 template<
class TrackingData>
109 inline bool valid(TrackingData& td)
const;
112 template<
class TrackingData>
123 template<
class TrackingData>
128 const label patchFacei,
129 const point& faceCentre,
134 template<
class TrackingData>
139 const label patchFacei,
140 const point& faceCentre,
145 template<
class TrackingData>
154 template<
class TrackingData>
158 const label thisCelli,
159 const label neighbourFacei,
166 template<
class TrackingData>
170 const label thisFacei,
171 const label neighbourCelli,
178 template<
class TrackingData>
182 const label thisFacei,
189 template<
class TrackingData>
206 return os << rhs.delta_;
211 return is >> rhs.delta_;
222 scalar maxDeltaRatio_;
297struct is_contiguous<LESModels::smoothDelta::deltaData> : std::true_type {};
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Public class used by mesh-wave to propagate the delta-ratio.
bool operator==(const deltaData &) const
Test for equality.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool equal(const deltaData &, TrackingData &td) const
Test for equality, with TrackingData.
bool sameGeometry(const polyMesh &, const deltaData &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
bool operator!=(const deltaData &) const
Test for inequality.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
friend Ostream & operator<<(Ostream &os, const deltaData &rhs)
friend Istream & operator>>(Istream &is, deltaData &rhs)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
deltaData()
Default construct.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
virtual ~smoothDelta()=default
Destructor.
TypeName("smooth")
Declare type-name, virtual type (with debug switch)
virtual void read(const dictionary &dict)
Read the LESdelta dictionary.
Abstract base class for LES deltas.
const turbulenceModel & turbulence() const
Return turbulenceModel reference.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Abstract base class for turbulence models (RAS, LES and laminar).
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A template class to specify that a data type can be considered as being contiguous in memory.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.