Skip to content
Snippets Groups Projects
Commit 0fe865dd authored by Oliver Sander's avatar Oliver Sander
Browse files

Geometries for vertices have a method integrationElement() now, which

always returns 1.  This fixes a bug in the SGrid<1,1> test.

[[Imported from SVN: r4026]]
parent 81014356
No related branches found
No related tags found
No related merge requests found
......@@ -240,6 +240,13 @@ namespace Dune
return realGeometry[i];
}
/** \brief The integration element for vertices is always 1
*/
ct integrationElement (const FieldVector<ct, 0>& local) const
{
return ct(1);
}
public:
//! copy constructor from GeometryImp
Geometry(const GeometryImp<0,cdim,GridImp> & e) : realGeometry(e) {};
......
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