Commit 892c23a4 authored by Christoph Grueninger's avatar Christoph Grueninger
Browse files

[richards] Fix compilatio of Richards-NI models.

The reference files are still wrong and need an update.
(reviewed by natalies)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14827 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent c4b2d327
......@@ -161,7 +161,7 @@ public:
ScalarField *ph = writer.allocateManagedBuffer(numDofs);
ScalarField *wc = writer.allocateManagedBuffer(numDofs);
ScalarField *source = writer.allocateManagedBuffer(numDofs);
VectorField *velocity = writer.template allocateManagedBuffer<double, dimWorld>(numDofs);
ImplicitVelocityOutput<TypeTag> velocityOutput(this->problem_());
......@@ -225,7 +225,7 @@ public:
(*Te)[dofIdxGlobal] = elemVolVars[scvIdx].temperature();
(*ph)[dofIdxGlobal] = elemVolVars[scvIdx].pressureHead(wPhaseIdx);
(*wc)[dofIdxGlobal] = elemVolVars[scvIdx].waterContent(wPhaseIdx);
(*source)[dofIdxGlobal] = sourcevalues;
(*source)[dofIdxGlobal] = sourcevalues[0];
}
// velocity output
......
......@@ -87,9 +87,9 @@ SET_TYPE_PROP(RichardsNIConductionProblem,
* <tt>./test_ccrichardsniconduction -ParameterFile ./test_ccrichardsniconduction.input</tt>
*/
template <class TypeTag>
class RichardsNIConductionProblem : public RichardsBoxProblem<TypeTag>
class RichardsNIConductionProblem : public RichardsProblem<TypeTag>
{
typedef RichardsBoxProblem<TypeTag> ParentType;
typedef RichardsProblem<TypeTag> ParentType;
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
......
......@@ -91,9 +91,9 @@ SET_TYPE_PROP(RichardsNIConvectionProblem,
* <tt>./test_ccrichardsniconvection -ParameterFile ./test_ccrichardsniconvection.input</tt>
*/
template <class TypeTag>
class RichardsNIConvectionProblem : public RichardsBoxProblem<TypeTag>
class RichardsNIConvectionProblem : public RichardsProblem<TypeTag>
{
typedef RichardsBoxProblem<TypeTag> ParentType;
typedef RichardsProblem<TypeTag> ParentType;
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment