NeoN
A framework for CFD software
Loading...
Searching...
No Matches
oldTimeCollection.hpp File Reference

Go to the source code of this file.

Classes

class  NeoN::finiteVolume::cellCentred::OldTimeDocument
class  NeoN::finiteVolume::cellCentred::OldTimeCollection

Namespaces

namespace  NeoN
 Integer types used throughout NeoN.
namespace  NeoN::finiteVolume
namespace  NeoN::finiteVolume::cellCentred

Functions

template<typename VectorType>
VectorType & NeoN::finiteVolume::cellCentred::oldTime (VectorType &field)
 Retrieves the old time field of a given field.
template<typename VectorType>
const VectorType & NeoN::finiteVolume::cellCentred::oldTime (const VectorType &field)
 Retrieves the old time field of a given field (const version).
template<typename VectorType>
int NeoN::finiteVolume::cellCentred::oldTimeLevel (const VectorType &field)
 Helper function to retrieve the history depth of a field in oldTimeCollection.
template<typename VectorType>
void NeoN::finiteVolume::cellCentred::rotateOldTimes (VectorType &field)
 Rotate time levels for a field. Meaning of level (computed via oldTimeLevel(field)): level == 0 : no history exists yet level == 1 : φ^{n} exists (one oldTime buffer) level >= 2 : φ^{n} and φ^{n-1} exist (old and oldOld).