Dear all experts,
I am a relative newer for Basilisk.I want to use dump and restore function.I browsed a lot of content about dump and restore in the forum.I use
lid.c to test(The difference is that I adjusted Re to 10000
),but I didn't get the desired result.I dump when i=1000, so restore from i=1001.The relative code as follows:
/*
event snapshot (i=1000)
{
dump (file ="dump");
}
*/
event init(i=0)
{
restore(file="dump");
}
The problem is that only i and t are restored, and other parameters (such as energy) start to run from 0.
(The four columns of data correspond to:
i t energy du)
I am very confused about this question, and hope someone can help me.Appreciate!
sincerely
Qi