36 #ifndef cutPolyValue_H
37 #define cutPolyValue_H
64 const Field<Type>& pPsis
74 const scalar isoAlpha,
75 const Field<Type>& pPsis
101 const scalar isoAlpha_;
141 const Type psi(
const label i,
const label j)
const;
191 const scalar isoAlpha,
234 const scalar isoAlpha_;
284 const Type&
next()
const;
317 const scalar isoAlpha
Pre-declare SubField and related Field type.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An ordered pair of two objects of type <T> with first() and second() elements.
A 2-tuple for storing two objects of different types.
A cell is defined as a list of faces with extra functionality.
bool operator==(const const_iterator &it) const
Equality comparison.
const Type & operator*() const
Dereference.
const Type & next() const
Get the next value around the loop.
const_iterator & operator++()
Increment.
const_iterator(const CellCutValues< Type > &cValues, const label i, const label j)
Construct from components.
bool operator!=(const const_iterator &it) const
Inequality comparison.
Type value_type
The value type.
const_iterator begin() const
Get the beginning of the iteration over the values.
const_iterator end() const
Get the end of the iteration over the values.
CellCutValues(const cell &c, const cellEdgeAddressing &cAddr, const labelListList &cCuts, const faceList &fs, const Field< Type > &pPsis, const scalarField &pAlphas, const scalar isoAlpha)
Construct from components.
bool operator==(const const_iterator &it) const
Equality comparison.
const_iterator(const FaceCutValues< Type > &fValues, const label i, const label j)
Construct from components.
const_iterator & operator++()
Increment.
Type next() const
Get the next value around the sub-face.
Type operator*() const
Dereference.
bool operator!=(const const_iterator &it) const
Inequality comparison.
const_iterator end() const
Get the end of the iteration over the values.
Type value_type
The value type.
const_iterator begin() const
Get the beginning of the iteration over the values.
FaceCutValues(const face &f, const List< labelPair > &fCuts, const Field< Type > &pPsis, const scalarField &pAlphas, const scalar isoAlpha, const bool below)
Construct from components.
A face is a list of labels corresponding to mesh vertices.
dimensionedScalar lambda(viscosity->lookup("lambda"))
const dimensionedScalar c
Speed of light in a vacuum.
scalar edgeCutLambda(const edge &e, const scalarField &pAlphas, const scalar isoAlpha)
Get the local coordinate within an edge, given end point values and an.
Type edgeCutValue(const edge &e, const scalar lambda, const Field< Type > &pPsis)
Linearly interpolate a value from the end points to the cut point of an.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.