Skip to content
Snippets Groups Projects
Commit 23c305f3 authored by Markus Wolff's avatar Markus Wolff
Browse files

added missing calls for *.clear() in reset method

   - reviewed by Klaus



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9957 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent ad87b54d
No related branches found
No related tags found
No related merge requests found
...@@ -42,9 +42,9 @@ private: ...@@ -42,9 +42,9 @@ private:
typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem;
enum enum
{ {
dim = GridView::dimension, dimWorld = GridView::dimensionworld dim = GridView::dimension, dimWorld = GridView::dimensionworld
}; };
typedef typename GridView::template Codim<0>::EntityPointer ElementPointer; typedef typename GridView::template Codim<0>::EntityPointer ElementPointer;
...@@ -61,11 +61,11 @@ private: ...@@ -61,11 +61,11 @@ private:
public: public:
enum FaceTypes enum FaceTypes
{ {
inside = 1, inside = 1,
boundary = 0, boundary = 0,
outside = -1 outside = -1
}; };
//! Constructs a FVMPFALInteractionVolume object //! Constructs a FVMPFALInteractionVolume object
FVMPFALInteractionVolume() : FVMPFALInteractionVolume() :
...@@ -102,6 +102,9 @@ public: ...@@ -102,6 +102,9 @@ public:
facePos_ = FieldVectorVector(DimVector(0.0)); facePos_ = FieldVectorVector(DimVector(0.0));
normal_ = FieldVectorVector(DimVector(0.0)); normal_ = FieldVectorVector(DimVector(0.0));
elementNum_ = 0; elementNum_ = 0;
boundaryTypes_.clear();
neumannValues_.clear();
dirichletValues_.clear();
} }
//! Mark storage as completed //! Mark storage as completed
...@@ -392,13 +395,13 @@ public: ...@@ -392,13 +395,13 @@ public:
{ {
if (elements_[i].size() > 0) if (elements_[i].size() > 0)
{ {
std::cout<<"element "<<i<<":\n"; std::cout<<"element "<<i<<":\n";
std::cout<<"element position: "<<elements_[i][0]->geometry().center()<<"\n"; std::cout<<"element position: "<<elements_[i][0]->geometry().center()<<"\n";
std::cout<<"face indices on element: "<<indexOnElement_[i]<<"\n"; std::cout<<"face indices on element: "<<indexOnElement_[i]<<"\n";
std::cout<<"face normals on element: "<<normal_[i]<<"\n"; std::cout<<"face normals on element: "<<normal_[i]<<"\n";
std::cout<<"face areas on element: "<<faceArea_[i]<<"\n"; std::cout<<"face areas on element: "<<faceArea_[i]<<"\n";
std::cout<<"face position on element: "<<facePos_[i]<<"\n"; std::cout<<"face position on element: "<<facePos_[i]<<"\n";
std::cout<<"face type: "<<faceType_[i]<<"\n"; std::cout<<"face type: "<<faceType_[i]<<"\n";
} }
} }
} }
......
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