Skip to content
Snippets Groups Projects
Commit eeb519d0 authored by Mario Ohlberger's avatar Mario Ohlberger
Browse files

fixed bug in SGeometry::global()

[[Imported from SVN: r2962]]
parent a60c45be
Branches
Tags
No related merge requests found
......@@ -93,9 +93,10 @@ namespace Dune {
inline FieldVector<sgrid_ctype, cdim> SGeometry<mydim,cdim,GridImp>::global (const FieldVector<sgrid_ctype, mydim>& local) const
{
FieldVector<sgrid_ctype, cdim> global = s;
// global += A * local
A.umv(local,global);
return global; // s+(A*local);
// global += A^t * local
A.umtv(local,global);
return global;
}
template<int mydim, int cdim, class GridImp>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment