Skip to content
Snippets Groups Projects
Commit d87187ca authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

Removed BoundaryEntity::type because BoundaryType was removed in grid.hh

[[Imported from SVN: r1170]]
parent fbb62090
No related branches found
No related tags found
No related merge requests found
......@@ -698,15 +698,6 @@ namespace Dune
AlbertGridBoundaryEntity () : _geom (false) , _elInfo ( NULL ),
_neigh (-1) {};
//! return type of boundary , i.e. Neumann, Dirichlet ...
BoundaryType type ()
{
assert(_elInfo->boundary[_neigh] != NULL);
// if bound == 0 then interior edge ==> error
assert(_elInfo->boundary[_neigh]->bound != 0);
return ( (_elInfo->boundary[_neigh]->bound < 100) ? ( ( _elInfo->boundary[_neigh]->bound < 0 ) ? Neumann : Dirichlet) : Periodic );
}
//! return identifier of boundary segment, number
int id ()
{
......
......@@ -22,14 +22,6 @@ namespace Dune {
OneDGridBoundaryEntity () : _neigh(-1), _geom()
{}
//! return type of boundary , i.e. Neumann, Dirichlet ...
BoundaryType type ()
{
// std::cerr << "OneDGridBoundaryEntity::type(): Preliminary implementation,"
// "always returns 'Dirichlet'\n";
return Dirichlet;
}
//! return identifier of boundary segment, number
int id ()
{
......
......@@ -581,9 +581,6 @@ namespace Dune {
//! make default Entity
SimpleBoundaryEntity() {};
//! return type of boundary segment
BoundaryType type () { return Neumann; };
//! return true if ghost cell was calced
bool hasGeometry () { return false; };
......
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