[Carpet] problem with a par file
Erik Schnetter
schnetter at cct.lsu.edu
Mon May 15 22:02:05 CEST 2006
On May 15, 2006, at 11:14:42, Bruno Giacomazzo wrote:
> Hi,
> I have a problem I cannot understand. When Carpet starts to set
> the initial data on the first refinement level I receive the
> following info:
>
> INFO (Carpet): [0][0] Postregrid at iteration 0 time 0 (global) (meta)
> INFO (Whisky): Setting up the atmosphere mask
> INFO (Carpet): [0][1] Initialisation I at iteration 0 time 0
> INFO (ADMMacros): Spatial finite differencing order: 4
> INFO (CartGrid3D): Grid Spacings:
> INFO (CartGrid3D): dx=>3.2000000e-01 dy=>3.2000000e-01
> dz=>3.2000000e-01
> INFO (CartGrid3D): Computational Coordinates:
> INFO (CartGrid3D): x=>[-0.960,16.960] y=>[-0.960,16.960] z=>
> [-0.960,16.960]
> INFO (CartGrid3D): Indices of Physical Coordinates:
> INFO (CartGrid3D): x=>[0,56] y=>[0,56] z=>[0,56]
>
> The problem is that my refinement levels are the following ones:
>
> [0.0, 0.0, 0.0]:[ 44.8, 44.8, 44.8]:[0.32,0.32,0.32] (level 0)
>
> [([ 0.0, 0.0, 0.0]:[ 8.0, 8.0, 8.0]:[0.16,0.16,0.16]) ], (1)
> [([ 0.0, 0.0, 0.0]:[ 3.2, 3.2, 3.2]:[0.08,0.08,0.08]) ], (2)
> [([ 0.0, 0.0, 0.0]:[ 1.6, 1.6, 1.6]:[0.04,0.04,0.04]) ], (3)
> [([ 0.0, 0.0, 0.0]:[ 0.8, 0.8, 0.8]:[0.02,0.02,0.02]) ], (4)
> [([ 0.0, 0.0, 0.0]:[ 0.6, 0.6, 0.6]:[0.01,0.01,0.01]) ], (5)
> [([ 0.0, 0.0, 0.0]:[ 0.3, 0.3, 0.3]:[0.005,0.005,0.005])] (6)
>
> So I don't understand where Carpet has taken the info reported above.
This is due to a miscommunication between CartGrid3D and Carpet.
CartGrid3D "wants" to calculate the information only on the coarsest
grid, and there is no clean way to specify "call me only on the
coarsest grid". There was a reasonably elegant work-around in
CartGrid3D, which unfortunately didn't work with a different driver.
I have updated the test again.
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu>
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20060515/8bae6b05/attachment.pgp
More information about the developers
mailing list