Skip to content
Snippets Groups Projects
Commit d8e01c9e authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Merge branch 'feature/uggrid-remove-surfaceelement' into 'master'

Remove wrapper around `SurfaceElement`

See merge request !165
parents b40dfded 9351a0bf
No related branches found
No related tags found
1 merge request!165Remove wrapper around `SurfaceElement`
Pipeline #
......@@ -864,20 +864,6 @@ namespace Dune {
return 0;
}
/** \brief Compute the integration element on an element face
\param nc Number of corners of the element face
\param co_global Coordinates of the corners of the face
\param ip_local Local coordinates where integration element is to be evaluated
*/
static UG::DOUBLE SurfaceElement(int nc,
const UG::DOUBLE co_global[MAX_CORNERS_OF_ELEM][ UG_DIM ],
const UG::DOUBLE ip_local[ UG_DIM ]) {
UG::DOUBLE result;
if (UG_NAMESPACE ::SurfaceElement(UG_DIM, nc, co_global, ip_local, &result))
DUNE_THROW(GridError, "UG_D" << UG_DIM << "::SurfaceElement returned error code!");
return result;
}
//! Returns the i-th corner of a UG element
static UG_NS< UG_DIM >::Node* Corner(const UG_NS< UG_DIM >::Element* theElement, int i) {
using UG_NAMESPACE ::NODE;
......
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