Fixed mesh refinement - cmyoo/cosmos GitHub Wiki

On top of the non-Cartesian coordinate system, we implement fixed mesh refinement. We do not explain the details of our mesh refinement procedure, but attach a simple schematic diagram showing our procedure:

In the sample codes, 2 additional layers for the mesh refinement are introduced when the value of the lapse function at the origin reduces to 0.3 and 0.15. The region covered by one higher layer is the region covered by 9 grids in the lower layer. These parameters for the mesh refinement can be controlled by the parameter file par_fmr.d.