Permalink
Browse files

And so, now all is built... but doesn't mean it will work as intended ;)

  • Loading branch information...
1 parent 613b747 commit 4b59b8ce5dea514fb4de6cd87a4d587c66757eb1 @wyldckat committed Apr 9, 2012
@@ -48,4 +48,65 @@ Foam::basicPdfThermo::~basicPdfThermo()
{}
+// Virtual stuff
+Foam::volScalarField& Foam::basicPdfThermo::csi()
+{
+ notImplemented("basicPdfThermo::csi()");
+ return const_cast<volScalarField&>(volScalarField::null());
+}
+
+const Foam::volScalarField& Foam::basicPdfThermo::csi() const
+{
+ notImplemented("basicPdfThermo::csi() const");
+ return volScalarField::null();
+}
+
+Foam::volScalarField& Foam::basicPdfThermo::csiv2()
+{
+ notImplemented("basicPdfThermo::csiv2()");
+ return const_cast<volScalarField&>(volScalarField::null());
+}
+
+const Foam::volScalarField& Foam::basicPdfThermo::csiv2() const
+{
+ notImplemented("basicPdfThermo::csiv2() const");
+ return volScalarField::null();
+}
+
+Foam::volScalarField& Foam::basicPdfThermo::chi_st()
+{
+ notImplemented("basicPdfThermo::chi_st()");
+ return const_cast<volScalarField&>(volScalarField::null());
+}
+
+const Foam::volScalarField& Foam::basicPdfThermo::chi_st() const
+{
+ notImplemented("basicPdfThermo::chi_st() const");
+ return volScalarField::null();
+}
+
+Foam::volScalarField& Foam::basicPdfThermo::H()
+{
+ notImplemented("basicPdfThermo::H()");
+ return const_cast<volScalarField&>(volScalarField::null());
+}
+
+const Foam::volScalarField& Foam::basicPdfThermo::H() const
+{
+ notImplemented("basicPdfThermo::H() const");
+ return volScalarField::null();
+}
+
+Foam::volScalarField& Foam::basicPdfThermo::as()
+{
+ notImplemented("basicPdfThermo::as()");
+ return const_cast<volScalarField&>(volScalarField::null());
+}
+
+const Foam::volScalarField& Foam::basicPdfThermo::as() const
+{
+ notImplemented("basicPdfThermo::as() const");
+ return volScalarField::null();
+}
+
// ************************************************************************* //
@@ -36,6 +36,7 @@ SourceFiles
#ifndef basicPdfThermo_H
#define basicPdfThermo_H
+#include "volFields.H"
#include "basicThermo.H"
#include "runTimeSelectionTables.H"
@@ -92,6 +93,22 @@ public:
// Member functions
+ // Virtual stuff
+ virtual volScalarField& csi();
+ virtual const volScalarField& csi() const;
+
+ virtual volScalarField& csiv2();
+ virtual const volScalarField& csiv2() const;
+
+ virtual volScalarField& chi_st();
+ virtual const volScalarField& chi_st() const;
+
+ virtual volScalarField& H();
+ virtual const volScalarField& H() const;
+
+ virtual volScalarField& as();
+ virtual const volScalarField& as() const;
+
// Fields derived from thermodynamic state variables
//- Density [kg/m^3] - uses current value of pressure

0 comments on commit 4b59b8c

Please sign in to comment.