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

GeometryType is now line instead of cube

[[Imported from SVN: r2371]]
parent ea2d2db5
No related branches found
No related tags found
No related merge requests found
......@@ -67,30 +67,6 @@ namespace Dune {
return target_->pos_;
}
#if 0
/*! return reference element corresponding to this element. If this is
a reference element then self is returned.
*/
OneDGridGeometry<0,0>& refelem ();
//! maps a local coordinate within reference element to
//! global coordinate in element
FieldVector<OneDCType, 1> global (const FieldVector<OneDCType, 1>& local);
//! Maps a global coordinate within the element to a
//! local coordinate in its reference element
FieldVector<OneDCType, 1> local (const FieldVector<OneDCType, 2>& global);
//! Returns true if the point is in the current element
bool checkInside(const FieldVector<OneDCType, 2> &global) const;
// A(l)
OneDCType integration_element (const FieldVector<OneDCType, 1>& local);
//! can only be called for dim=dimworld!
const Mat<1,1>& Jacobian_inverse (const FieldVector<OneDCType, 1>& local);
#endif
//private:
OneDEntityImp<0>* target_;
......@@ -129,7 +105,7 @@ namespace Dune {
*
* OneDGrid obviously supports only lines
*/
GeometryType type () const {return line;}
GeometryType type () const {return cube;}
//! return the number of corners of this element. Corners are numbered 0...n-1
int corners () const {return 2;}
......
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