Commit a67a72e0 authored by Backofen, Rainer's avatar Backofen, Rainer
Browse files

correct for error due to "Name look up changes" in gcc 4.7 :

"DOFVector.hh:1845:7: error: ‘getLocalVector’ was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]"
parent 94f17419
...@@ -1444,7 +1444,7 @@ namespace AMDiS { ...@@ -1444,7 +1444,7 @@ namespace AMDiS {
vecAtQPs.change_dim(nPoints); vecAtQPs.change_dim(nPoints);
mtl::dense_vector<T> localVec(nBasFcts); mtl::dense_vector<T> localVec(nBasFcts);
getLocalVector(largeElInfo->getElement(), localVec); this->getLocalVector(largeElInfo->getElement(), localVec);
mtl::dense2D<double> &m = smallElInfo->getSubElemCoordsMat(basFcts->getDegree()); mtl::dense2D<double> &m = smallElInfo->getSubElemCoordsMat(basFcts->getDegree());
for (int iq = 0; iq < nPoints; iq++) { for (int iq = 0; iq < nPoints; iq++) {
...@@ -1480,7 +1480,7 @@ namespace AMDiS { ...@@ -1480,7 +1480,7 @@ namespace AMDiS {
int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints(); int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints();
mtl::dense_vector<T> localVec(nBasFcts); mtl::dense_vector<T> localVec(nBasFcts);
getLocalVector(elInfo->getElement(), localVec); this->getLocalVector(elInfo->getElement(), localVec);
mtl::dense_vector<T> grd1(dim + 1); mtl::dense_vector<T> grd1(dim + 1);
int parts = Global::getGeo(PARTS, dim); int parts = Global::getGeo(PARTS, dim);
...@@ -1549,7 +1549,7 @@ namespace AMDiS { ...@@ -1549,7 +1549,7 @@ namespace AMDiS {
int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints(); int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints();
mtl::dense_vector<T> localVec(nBasFcts); mtl::dense_vector<T> localVec(nBasFcts);
getLocalVector(largeElInfo->getElement(), localVec); this->getLocalVector(largeElInfo->getElement(), localVec);
mtl::dense2D<double> &m = smallElInfo->getSubElemCoordsMat(basFcts->getDegree()); mtl::dense2D<double> &m = smallElInfo->getSubElemCoordsMat(basFcts->getDegree());
...@@ -1607,7 +1607,7 @@ namespace AMDiS { ...@@ -1607,7 +1607,7 @@ namespace AMDiS {
int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints(); int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints();
mtl::dense_vector<T> localVec(nBasFcts); mtl::dense_vector<T> localVec(nBasFcts);
getLocalVector(elInfo->getElement(), localVec); this->getLocalVector(elInfo->getElement(), localVec);
mtl::dense_vector<T> grd1(dim + 1); mtl::dense_vector<T> grd1(dim + 1);
int parts = Global::getGeo(PARTS, dim); int parts = Global::getGeo(PARTS, dim);
...@@ -1672,7 +1672,7 @@ namespace AMDiS { ...@@ -1672,7 +1672,7 @@ namespace AMDiS {
int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints(); int nPoints = quadFast ? quadFast->getQuadrature()->getNumPoints() : quad->getNumPoints();
mtl::dense_vector<T> localVec(nBasFcts); mtl::dense_vector<T> localVec(nBasFcts);
getLocalVector(largeElInfo->getElement(), localVec); this->getLocalVector(largeElInfo->getElement(), localVec);
mtl::dense2D<double> &m = smallElInfo->getSubElemCoordsMat(basFcts->getDegree()); mtl::dense2D<double> &m = smallElInfo->getSubElemCoordsMat(basFcts->getDegree());
...@@ -1842,7 +1842,7 @@ namespace AMDiS { ...@@ -1842,7 +1842,7 @@ namespace AMDiS {
while (elInfo) { while (elInfo) {
const DegreeOfFreedom **dof = elInfo->getElement()->getDof(); const DegreeOfFreedom **dof = elInfo->getElement()->getDof();
const DimVec<WorldVector<double> > &grdLambda = elInfo->getGrdLambda(); const DimVec<WorldVector<double> > &grdLambda = elInfo->getGrdLambda();
getLocalVector(elInfo->getElement(), localUh); this->getLocalVector(elInfo->getElement(), localUh);
int localDOFNr = 0; int localDOFNr = 0;
for (int i = 0; i < nNodes; i++) { // for all nodes for (int i = 0; i < nNodes; i++) { // for all nodes
......
Markdown is supported
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