Skip to content
Snippets Groups Projects
Commit 79fe16de authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

box richards: remove everything deprecated during 2.2-svn. This includes...

box richards: remove everything deprecated during 2.2-svn. This includes removal of the model-specific flux variables and problem, as well as several property, parameter and member function names. Reviewed by Christoph

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9310 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent e69970af
No related branches found
No related tags found
No related merge requests found
......@@ -120,17 +120,6 @@ class RichardsModel : public GET_PROP_TYPE(TypeTag, BaseModel)
enum { dim = GridView::dimension };
public:
/*!
* \copydoc Dumux::BoxModel::primaryVarWeight
*/
DUNE_DEPRECATED
Scalar primaryVarWeight(const int vertIdx, const int pvIdx) const
{
if (Indices::pwIdx == pvIdx)
return 1e-6;
return 1;
}
/*!
* \brief All relevant primary and secondary of a given
* solution to an ouput writer.
......
......@@ -50,21 +50,16 @@ NEW_TYPE_TAG(BoxRichards, INHERITS_FROM(BoxModel));
//////////////////////////////////////////////////////////////////
NEW_PROP_TAG(NumPhases); //!< Number of fluid phases in the system
NEW_PROP_TAG(RichardsIndices); //!< DEPRECATED Enumerations used by the Richards models
NEW_PROP_TAG(Indices); //!< Enumerations used by the model
NEW_PROP_TAG(SpatialParams); //!< The type of the spatial parameters
NEW_PROP_TAG(SpatialParameters); //!< DEPRECATED The type of the spatial parameters
NEW_PROP_TAG(MaterialLaw); //!< The material law which ought to be used (by default extracted from the spatial parameters)
NEW_PROP_TAG(MaterialLawParams); //!< The type of the parameter object for the material law (by default extracted from the spatial parameters)
NEW_PROP_TAG(FluidSystem); //!< The fluid system to be used for the Richards model
NEW_PROP_TAG(WettingPhase); //!< Fluid which represents the wetting phase
NEW_PROP_TAG(NonwettingPhase); //!< Fluid which represents the non-wetting phase
NEW_PROP_TAG(ProblemEnableGravity); //!< Returns whether gravity is considered in the problem
NEW_PROP_TAG(EnableGravity); //!< DEPRECATED Returns whether gravity is considered in the problem
NEW_PROP_TAG(ImplicitMassUpwindWeight); //!< The value of the weight of the upwind direction in the mass conservation equations
NEW_PROP_TAG(MassUpwindWeight); //!< DEPRECATED The value of the weight of the upwind direction in the mass conservation equations
NEW_PROP_TAG(ImplicitMobilityUpwindWeight); //!< The value of the weight for the upwind mobility in the velocity calculation
NEW_PROP_TAG(MobilityUpwindWeight); //!< DEPRECATED The value of the weight for the upwind mobility in the velocity calculation
// \}
}
......
......@@ -71,21 +71,17 @@ SET_TYPE_PROP(BoxRichards, FluxVariables, BoxDarcyFluxVariables<TypeTag>);
SET_TYPE_PROP(BoxRichards, NewtonController, RichardsNewtonController<TypeTag>);
//! The upwind weight for the mass conservation equations
SET_SCALAR_PROP(BoxRichards, ImplicitMassUpwindWeight, GET_PROP_VALUE(TypeTag, MassUpwindWeight));
SET_SCALAR_PROP(BoxRichards, MassUpwindWeight, 1.0);// DEPRECATED
SET_SCALAR_PROP(BoxRichards, ImplicitMassUpwindWeight, 1.0);
//! weight for the upwind mobility in the velocity calculation
SET_SCALAR_PROP(BoxRichards, ImplicitMobilityUpwindWeight, GET_PROP_VALUE(TypeTag, MobilityUpwindWeight));
SET_SCALAR_PROP(BoxRichards, MobilityUpwindWeight, 1.0);// DEPRECATED
SET_SCALAR_PROP(BoxRichards, ImplicitMobilityUpwindWeight, 1.0);
//! The class with all index definitions for the model
SET_TYPE_PROP(BoxRichards, Indices, typename GET_PROP_TYPE(TypeTag, RichardsIndices));
SET_TYPE_PROP(BoxRichards, RichardsIndices, RichardsIndices<TypeTag>);//DEPRECATED
SET_TYPE_PROP(BoxRichards, Indices, RichardsIndices<TypeTag>);
//! The spatial parameters to be employed.
//! Use BoxSpatialParams by default.
SET_TYPE_PROP(BoxRichards, SpatialParams, typename GET_PROP_TYPE(TypeTag, SpatialParameters));
SET_TYPE_PROP(BoxRichards, SpatialParameters, BoxSpatialParams<TypeTag>);//DEPRECATED
SET_TYPE_PROP(BoxRichards, SpatialParams, BoxSpatialParams<TypeTag>);
/*!
* \brief Set type of the parameter objects for the material law
......@@ -155,8 +151,7 @@ public:
};
// enable gravity by default
SET_BOOL_PROP(BoxRichards, ProblemEnableGravity, GET_PROP_VALUE(TypeTag, EnableGravity));
SET_BOOL_PROP(BoxRichards, EnableGravity, true);//DEPRECATED
SET_BOOL_PROP(BoxRichards, ProblemEnableGravity, true);
// \}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment