... | ... | @@ -120,7 +120,27 @@ inittype 5 # 5 - start from st-wslda checkpoint, inprefix |
|
|
inprefix test
|
|
|
```
|
|
|
|
|
|
**NOTE**: Present implementation does not allow for initializing higher dimensional calculations via checkpoint generated by lower-dimensional code, for example: 3D code cannot be initialized by checkpoint generated by 2D or 1D code.
|
|
|
## Using checkpoint generated by code of lower dimension
|
|
|
The Toolkit allows for initializing higher dimensional calculations via checkpoint generated by lower-dimensional code, for example, 3D code can be initialized by checkpoints generated by 2D or 1D code.
|
|
|
![rising-dim](uploads/a34ad26a27b5f4a77bb51ef1ea13b689/rising-dim.png)
|
|
|
In the case of resizing the checkpoint file, a message of this type will be provided on `stdout`:
|
|
|
```
|
|
|
# CODE: ST-WSLDA-3D
|
|
|
# VERSION: 2021.02.22
|
|
|
# LATTICE: 8 x 10 x 12
|
|
|
...
|
|
|
# INSPECTING CHECKPOINT FILE `test/checkpoint.dat`
|
|
|
# CHECKPOINT FOR 2D LATTICE: [NX,NY,NZ]=[8,10,12], [DX,DY,DZ]=[1.000,1.000,1.000], [LX,LY,LZ]=[8.000,10.000,12.000]
|
|
|
# !!! --- WARNING --- WARNING --- WARNING --- WARNING --- WARNING --- WARNING --- !!!
|
|
|
# Dimensonality of the lattice has changed!
|
|
|
# The code will change dimensionality of given checkpoint data to the new lattice.
|
|
|
# !!! --- ------- --- ------- --- ------- --- ------- --- ------- --- ------- --- !!!
|
|
|
# LOADING CHECKPOINT FILE `test/checkpoint.dat`
|
|
|
# CONVERTING CHECKPOINT FILE: 2D --> 3D
|
|
|
```
|
|
|
|
|
|
## Using checkpoint generated on a lattice with different resolution.
|
|
|
If provided checkpoint file is generated on a lattice with different resolution, than specified in `predefines.h`, then [automatic interpolation](Automatic interpolations) will be applied.
|
|
|
|
|
|
# Custom initialization of the solver
|
|
|
The static codes can start the self-consistent process from arbitrary initial conditions. To activate this option user must specify in the input file:
|
... | ... | |