Go to the documentation of this file.
40 #ifndef topoDistanceData_H
41 #define topoDistanceData_H
102 inline const Type&
data()
const
111 template<
class TrackingData>
112 inline bool valid(TrackingData& td)
const;
115 template<
class TrackingData>
119 const topoDistanceData<Type>&,
126 template<
class TrackingData>
131 const label patchFacei,
132 const point& faceCentre,
137 template<
class TrackingData>
142 const label patchFacei,
143 const point& faceCentre,
148 template<
class TrackingData>
157 template<
class TrackingData>
161 const label thisCelli,
162 const label neighbourFacei,
163 const topoDistanceData<Type>& neighbourInfo,
169 template<
class TrackingData>
173 const label thisFacei,
174 const label neighbourCelli,
175 const topoDistanceData<Type>& neighbourInfo,
181 template<
class TrackingData>
185 const label thisFacei,
186 const topoDistanceData<Type>& neighbourInfo,
192 template<
class TrackingData>
195 const topoDistanceData<Type>&,
203 inline bool operator==(
const topoDistanceData<Type>&)
const;
205 inline bool operator!=(
const topoDistanceData<Type>&)
const;
210 friend Ostream& operator<< <Type>
213 const topoDistanceData<Type>&
215 friend Istream&
operator>> <Type>
218 topoDistanceData<Type>&
bool sameGeometry(const polyMesh &, const topoDistanceData< Type > &, const scalar, TrackingData &td) const
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
void transform(const polyMesh &, const tensor &, TrackingData &td)
For use with FaceCellWave. Determines topological distance to starting faces. Templated on passive tr...
Istream & operator>>(Istream &, directionInfo &)
Mesh consisting of general polyhedral cells.
A template class to specify if a data type is composed solely of Foam::label elements.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
const Type & data() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
bool operator==(const topoDistanceData< Type > &) const
bool operator!=(const topoDistanceData< Type > &) const
A template class to specify if a data type is composed solely of Foam::scalar elements.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)
bool valid(TrackingData &td) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
vector point
Point is a vector.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
bool equal(const topoDistanceData< Type > &, TrackingData &td) const
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.
Database for solution data, solver performance and other reduced data.
A template class to specify that a data type can be considered as being contiguous in memory.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const topoDistanceData< Type > &neighbourInfo, const scalar tol, TrackingData &td)