diff --git a/AMDiS/src/MacroReader.cc b/AMDiS/src/MacroReader.cc index 7233ee557f21c4fe04befe945172a14dfa387d20..0a138ec1855661a3113249d5aae127130f742fd1 100644 --- a/AMDiS/src/MacroReader.cc +++ b/AMDiS/src/MacroReader.cc @@ -126,8 +126,10 @@ namespace AMDiS { ElementData *ld1 = element1->getElementData(); ElementData *ld2 = element2->getElementData(); - LeafDataPeriodic *ldp1 = dynamic_cast<LeafDataPeriodic*>(ld1->getElementData(PERIODIC)); - LeafDataPeriodic *ldp2 = dynamic_cast<LeafDataPeriodic*>(ld2->getElementData(PERIODIC)); + LeafDataPeriodic *ldp1 = + dynamic_cast<LeafDataPeriodic*>(ld1->getElementData(PERIODIC)); + LeafDataPeriodic *ldp2 = + dynamic_cast<LeafDataPeriodic*>(ld2->getElementData(PERIODIC)); if (!ldp1) { ldp1 = new LeafDataPeriodic(ld1); @@ -201,7 +203,9 @@ namespace AMDiS { if (periodicMap.getEntry(i) != -1) MSG("identification : vertex %d is now vertex %d\n", i, periodicMap.getEntry(i)); - } + + } // periodicFile + // ========================================================= diff --git a/AMDiS/src/PeriodicBC.cc b/AMDiS/src/PeriodicBC.cc index 239e5d7f90f4af9db01aae7fcf17dc7b7ca41f0e..d4e13ec1f5939c206dfa38d6f4159f6de86a0e09 100644 --- a/AMDiS/src/PeriodicBC.cc +++ b/AMDiS/src/PeriodicBC.cc @@ -11,6 +11,7 @@ namespace AMDiS { std::vector<PeriodicDOFMapping*> PeriodicDOFMapping::mappings; + PeriodicDOFMapping* PeriodicDOFMapping::providePeriodicDOFMapping(const BasisFunction *fcts) { @@ -38,6 +39,7 @@ namespace AMDiS { } } + PeriodicDOFMapping::~PeriodicDOFMapping() { std::map<DimVec<int>, DegreeOfFreedom*, DimVecLess<int> >::iterator it; @@ -46,6 +48,7 @@ namespace AMDiS { delete [] it->second; } + const DegreeOfFreedom *PeriodicDOFMapping::getDOFPermutation(const DimVec<int> &vertexPermutation) { FUNCNAME("PeriodicDOFMapping::getDOFPermutation()"); @@ -93,9 +96,11 @@ namespace AMDiS { periodicDOFMapping = NULL; } + PeriodicBC::~PeriodicBC() {} + void PeriodicBC::initMatrix(DOFMatrix* matrix) { FUNCNAME("PeriodicBC::initMatrix()"); @@ -110,6 +115,7 @@ namespace AMDiS { } } + void PeriodicBC::fillBoundaryCondition(DOFMatrix *matrix, ElInfo *elInfo, const DegreeOfFreedom *dofIndices, @@ -181,6 +187,7 @@ namespace AMDiS { } } + void PeriodicBC::exitMatrix(DOFMatrix* matrix) { FUNCNAME("PeriodicBC::exitMatrix()"); @@ -205,6 +212,7 @@ namespace AMDiS { A = 0.5 * C; } + void PeriodicBC::exitVector(DOFVectorBase<double>* vector) { FUNCNAME("PeriodicBC::exitVector()"); diff --git a/AMDiS/src/time/RosenbrockStationary.h b/AMDiS/src/time/RosenbrockStationary.h index d2016203455208b34d191b67753474f4b3694bc3..254551a7eba7ec3cfcae70c13661a9b9b2c95b13 100644 --- a/AMDiS/src/time/RosenbrockStationary.h +++ b/AMDiS/src/time/RosenbrockStationary.h @@ -152,6 +152,7 @@ namespace AMDiS { ERROR_EXIT("Not yet supported!\n"); } +#if 0 /// Adds a periodic boundary condition. void addPeriodicBC(BoundaryType type, int row, int col) { @@ -159,6 +160,7 @@ namespace AMDiS { ERROR_EXIT("Not yet supported!\n"); } +#endif protected: void init();