2. Initial conditions generator module¶
This module generates the initial conditions for the model if it doesn’t exist with the good dimensions.
The dimensions of the system can be changed in the parameters file params_maooam.py . Then delete ic.py and ic_def.py will regenerates it.
Note
The python code is available here : ic_def.py .
Example: |
---|
>>> from ic_def import load_IC
>>> load_IC()
2.1. Global file¶
The file ic.py in the same directory.
2.2. Dependencies¶
Uses the following modules to know the dimensions :
>>> from params_maooam import natm, noc, ndim, t_trans, t_run
>>> from inprod_analytic import awavenum, owavenum, init_inprod