Skip to content
Snippets Groups Projects
Commit 47346659 authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

Auto mapping part 2

parent fbccbab0
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ void LocalFunctionSpace::selectTransform(int form){
break;
default:
throw Exception ("Unknow %d-form", form);
throw Exception ("Unknown '%d-form'", form);
break;
}
}
......@@ -112,6 +112,7 @@ inline fullVector<double> LocalFunctionSpace::form1(const Jacobian& jac,
double v,
double w){
return jac.grad(u, v);
//! @todo Missing Orientation !!
}
#endif
......@@ -32,10 +32,14 @@ double LocalFunctionSpaceScalar::interpolate
if(coef.size() < size)
throw Exception("Not enough coeficients for interpolation");
double res = 0;
fullVector<double> uvw = jac->invMap(x, y);
double res = 0;
for(int i = 0; i < size; ++i){
//transform(*jac, uvw(0), uvw(1), 0);
//! @todo Interpolation rule ...
}
return res;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment