NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
oldTimeCollection.hpp File Reference
#include <string>
#include "NeoN/core/database/database.hpp"
#include "NeoN/core/database/collection.hpp"
#include "NeoN/core/database/document.hpp"
#include "NeoN/core/database/fieldCollection.hpp"
#include "NeoN/finiteVolume/cellCentred/fields/volumeField.hpp"
#include "NeoN/finiteVolume/cellCentred/fields/surfaceField.hpp"

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)