mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Const correct
This commit is contained in:
parent
05ca7dc252
commit
501bb117bf
@ -178,16 +178,8 @@ public:
|
|||||||
GridRedBlackCartesian &FourDimRedBlackGrid,
|
GridRedBlackCartesian &FourDimRedBlackGrid,
|
||||||
double _M5,const ImplParams &p= ImplParams());
|
double _M5,const ImplParams &p= ImplParams());
|
||||||
|
|
||||||
virtual void DirichletBlock(Coordinate & block)
|
virtual void DirichletBlock(const Coordinate & block)
|
||||||
{
|
{
|
||||||
assert(block.size()==Nd+1);
|
|
||||||
if ( block[0] || block[1] || block[2] || block[3] || block[4] ){
|
|
||||||
Dirichlet = 1;
|
|
||||||
Block = block;
|
|
||||||
Stencil.DirichletBlock(block);
|
|
||||||
StencilEven.DirichletBlock(block);
|
|
||||||
StencilOdd.DirichletBlock(block);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// Constructors
|
// Constructors
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user