restart
Syntax
restart boolean_restart boolean_restart_refine
boolean_restart
,boolean_restart_refine
= t or ft is true f is false
Examples
restart f f
restart t f
restart t t
Description
This command sets the restart styles.
When boolean_restart
= t, the code reads the elements/nodes/atoms information from the cac_in.restart
file; otherwise, the simulation cell is built from scratch and boolean_restart_refine
becomes f regardless of it value set in this command.
When boolean_restart_refine
= t, all or some elements in the coarse-grained domain are refined to atomic scale by linear interpolation from the nodal positions. Which elements to be refined depends on the refine_style
.
Related commands
When boolean_restart_refine
= f, the refine command becomes irrelevant, in which case there is no need for the refinement information.
Related files
read_restart.f90
and write_restart.f90
Default
restart f f