mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Stencil improvement
This commit is contained in:
parent
5d113d1c70
commit
b334a73a44
@ -46,7 +46,7 @@ class GeneralLocalStencilView {
|
|||||||
accelerator_inline GeneralStencilEntry * GetEntry(int point,int osite) {
|
accelerator_inline GeneralStencilEntry * GetEntry(int point,int osite) {
|
||||||
return & this->_entries_p[point+this->_npoints*osite];
|
return & this->_entries_p[point+this->_npoints*osite];
|
||||||
}
|
}
|
||||||
|
void ViewClose(void){};
|
||||||
};
|
};
|
||||||
////////////////////////////////////////
|
////////////////////////////////////////
|
||||||
// The Stencil Class itself
|
// The Stencil Class itself
|
||||||
@ -61,7 +61,7 @@ protected:
|
|||||||
public:
|
public:
|
||||||
GridBase *Grid(void) const { return _grid; }
|
GridBase *Grid(void) const { return _grid; }
|
||||||
|
|
||||||
View_type View(void) const {
|
View_type View(int mode) const {
|
||||||
View_type accessor(*( (View_type *) this));
|
View_type accessor(*( (View_type *) this));
|
||||||
return accessor;
|
return accessor;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user