dune-grid-dev-howto
2.2.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
dune
grid
identitygrid
identitygridentityseed.hh
Go to the documentation of this file.
1
#ifndef DUNE_IDENTITY_GRID_ENTITY_SEED_HH
2
#define DUNE_IDENTITY_GRID_ENTITY_SEED_HH
3
10
namespace
Dune {
11
12
18
template
<
int
codim,
class
Gr
id
Imp>
19
class
IdentityGridEntitySeed
20
{
21
protected
:
22
23
// Entity type of the hostgrid
24
typedef
typename
GridImp::HostGridType::Traits::template Codim<codim>::Entity
HostEntity
;
25
26
// EntitySeed type of the hostgrid
27
typedef
typename
GridImp::HostGridType::Traits::template Codim<codim>::EntitySeed
HostEntitySeed
;
28
29
public
:
30
31
enum
{
codimension
= codim};
32
39
IdentityGridEntitySeed
(
const
HostEntity
& hostEntity) :
40
hostEntitySeed_(hostEntity.seed())
41
{}
42
46
const
HostEntitySeed
&
hostEntitySeed
()
const
47
{
48
return
hostEntitySeed_;
49
}
50
51
private
:
52
53
HostEntitySeed
hostEntitySeed_;
54
};
55
56
}
// namespace Dune
57
58
#endif // #define DUNE_IDENTITY_GRID_ENTITY_SEED_HH
Generated on Tue Feb 26 2013 17:36:15 for dune-grid-dev-howto by
1.8.1.2