Below, we list some of the parameters defined above and means of
obtaining their values from the mesh and field-variable methods
- boundary width : Mesh::getBoundaryWidth()
- stencil width (alternatively, width of the ghost-cell halo) : Mesh::getStecilWidth()
- size of the domain i.e Lx, Ly
: Mesh::getDistances()
- resolution of the domain i.e. Nx, Ny
: Mesh::getShape()
- lower bounding box corner of a patch : FieldVar::getLowerCorner()
- upper bounding box corner of a patch :FieldVar::getUpperCorner()
- shape of the array living on that patch : FieldVar::getShape()
- number of different field variables in that array :
FieldVar::getNVars()
- the pointer to the data: FieldVar::get_data_raw(in int
time, in int patchID, )
2010-08-11