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

fix errors related to switch SpatialParameters -> SpatialParams

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8106 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent bcf10d5b
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ protected: ...@@ -108,7 +108,7 @@ protected:
// gradients // gradients
temperatureGrad_ = 0; temperatureGrad_ = 0;
Vector tmp(0.0); Vector tmp(0.0);
for (int vertIdx = 0; vertIdx < this->fvGeom_.numVertices; vertIdx++) for (int vertIdx = 0; vertIdx < this->fvGeometry_.numVertices; vertIdx++)
{ {
tmp = this->face().grad[vertIdx]; tmp = this->face().grad[vertIdx];
tmp *= elemVolVars[vertIdx].temperature(); tmp *= elemVolVars[vertIdx].temperature();
...@@ -122,7 +122,7 @@ protected: ...@@ -122,7 +122,7 @@ protected:
elemVolVars, elemVolVars,
temperatureGrad_, temperatureGrad_,
element, element,
this->fvGeom_, this->fvGeometry_,
scvfIdx_); scvfIdx_);
else // heat flux at outflow boundaries else // heat flux at outflow boundaries
problem.spatialParameters().boundaryMatrixHeatFlux(tmp, problem.spatialParameters().boundaryMatrixHeatFlux(tmp,
...@@ -130,7 +130,7 @@ protected: ...@@ -130,7 +130,7 @@ protected:
elemVolVars, elemVolVars,
this->face(), this->face(),
element, element,
this->fvGeom_); this->fvGeometry_);
// project the heat flux vector on the face's normal vector // project the heat flux vector on the face's normal vector
normalMatrixHeatFlux_ = tmp*this->face().normal; normalMatrixHeatFlux_ = tmp*this->face().normal;
......
...@@ -172,6 +172,9 @@ SET_PROP(BoxMPNC, Indices) ...@@ -172,6 +172,9 @@ SET_PROP(BoxMPNC, Indices)
//! DEPRECATED MPNCIndices property //! DEPRECATED MPNCIndices property
SET_TYPE_PROP(BoxMPNC, MPNCIndices, typename GET_PROP_TYPE(TypeTag, Indices)); SET_TYPE_PROP(BoxMPNC, MPNCIndices, typename GET_PROP_TYPE(TypeTag, Indices));
//! DEPRECATED SpatialParameters property
SET_TYPE_PROP(BoxMPNC, SpatialParameters, typename GET_PROP_TYPE(TypeTag, SpatialParams));
//! The VTK writer module for common quantities //! The VTK writer module for common quantities
SET_PROP(BoxMPNC, MPNCVtkCommonModule) SET_PROP(BoxMPNC, MPNCVtkCommonModule)
{ {
......
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