Skip to content
Snippets Groups Projects
Commit d6ed4aea authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

Minor changes.

[[Imported from SVN: r906]]
parent d11df38b
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ namespace Dune {
struct BaryCenterPoints
{
enum { identifier = 0 };
enum { numberQuadPoints = 0 };
enum { numberOfQuadPoints = 0 };
enum { polynomOrder = 0 };
static Domain getPoint (int i);
static RangeField getWeight (int i);
......@@ -35,9 +35,26 @@ namespace Dune {
//***********************************************************************
//
// specialisations for triangles,quadrilateral,tetrahedrons,hexahedrons
// specialisations for lines,triangles,quadrilateral,tetrahedrons,hexahedrons
//
//***********************************************************************
template <class Domain, class RangeField >
struct BaryCenterPoints<Domain,RangeField,line,0>
{
enum { identifier = 0 };
enum { numberOfQuadPoints = 1 };
enum { polynomOrder = 1 };
static Domain getPoint (int i)
{
Domain tmp (0.5);
return tmp;
};
static RangeField getWeight (int i)
{
return 1.0;
};
};
//! specialization triangles
template <class Domain, class RangeField>
......
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