34 #ifndef PrimitiveOldTimePatch_H
35 #define PrimitiveOldTimePatch_H
45 template<
class Container>
62 template<
class FaceList,
class Po
intField>
120 const FaceList& faces,
135 const FaceList& faces,
172 return patch0Ptr_.
valid();
A List with indirect addressing.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const Field< PointType > & pointNormals0() const
Return old-time point normals for patch.
void operator=(const PrimitiveOldTimePatch &)=delete
Disallow default bitwise assignment.
const Field< PointType > & faceAreas0() const
Return old-time face areas for patch.
const Field< PointType > & points0() const
Return reference to old-time global points.
autoPtr< PrimitiveOldTimePatch< FaceList, PointField > > clone() const
Construct and return a clone.
virtual void movePoints0(const Field< PointType > &)
Correct patch after moving points.
virtual ~PrimitiveOldTimePatch()
Destructor.
const Field< PointType > & faceCentres0() const
Return old-time face centres for patch.
PrimitiveOldTimePatch(const FaceList &faces, const Field< PointType > &points, const Field< PointType > &points0)
Construct from components.
const Field< PointType > & faceNormals0() const
Return old-time face normals for patch.
bool has0() const
Return whether or not old-time geometry is available.
const Field< PointType > & localPoints0() const
Return pointField of old-time points in patch.
A list of faces which address into the list of points.
std::remove_reference< PointField >::type::value_type PointType
const Field< PointType > & points() const
Return reference to global points.
std::remove_reference< FaceList >::type::value_type FaceType
A List obtained as a section of another List.
A List with indirect addressing.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
bool valid() const
Return true if the autoPtr valid (ie, the pointer is set)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.