Skip to content

Commit f60490d

Browse files
committed
Merge branch 'fix-help-optional-wd' into 'development'
Updated CLI help See merge request damask/DAMASK!1065
2 parents fbe541b + a8f2f85 commit f60490d

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

PRIVATE

src/CLI.f90

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -425,33 +425,43 @@ subroutine help()
425425
print'(/,1x,a)','-----------------------------------------------------------------------'
426426
print'(1x,a)', 'Mandatory flags:'
427427
print'(/,1x,a)',' --geom GEOMFILE'
428-
print'(1x,a)', ' specify the file path of the geometry definition'
428+
#if defined(GRID)
429+
print'(1x,a)', ' Relative or absolute path to a VTK image data file (*.vti)'
430+
print'(1x,a)', ' with mandatory "material" field variable.'
431+
#elif defined(MESH)
432+
print'(1x,a)', ' Relative or absolute path to a Gmsh file (*.msh)'
433+
print'(1x,a)', ' with definitions of physical groups/tags for material IDs'
434+
print'(1x,a)', ' and boundary conditions.'
435+
#endif
429436
print'(/,1x,a)',' --load LOADFILE'
430-
print'(1x,a)', ' specify the file path of the load case definition'
437+
print'(1x,a)', ' Relative or absolute path to a load case definition'
438+
print'(1x,a)', ' in YAML format.'
431439
print'(/,1x,a)',' --material MATERIALFILE'
432-
print'(1x,a)', ' specify the file path of the material configuration'
440+
print'(1x,a)', ' Relative or absolute path to a material configuration'
441+
print'(1x,a)', ' in YAML format.'
433442
print'(/,1x,a)','-----------------------------------------------------------------------'
434443
print'(1x,a)', 'Optional flags:'
435444
print'(/,1x,a)',' --numerics NUMERICSFILE'
436-
print'(1x,a)', ' Specify the file path of the numerics configuration'
445+
print'(1x,a)', ' Relative or absolute path to a numerics configuration'
446+
print'(1x,a)', ' in YAML format.'
437447
print'(/,1x,a)',' --jobname JOBNAME'
438-
print'(1x,a)', ' specify the job name.'
439-
print'(1x,a)', ' Defaults to GEOM_LOAD_MATERIAL[_NUMERICS].'
440-
print'(/,1x,a)',' --workingdirectory WORKINGDIRECTORY'
441-
print'(1x,a)', ' specify the base directory of relative paths.'
442-
print'(1x,a)', ' Defaults to the current working directory'
448+
print'(1x,a)', ' Job name, defaults to GEOM_LOAD_MATERIAL[_NUMERICS].'
449+
print'(/,1x,a)',' --workingdir WORKINGDIRECTORY'
450+
print'(1x,a)', ' Working directory, defaults to current directory and'
451+
print'(1x,a)', ' serves as base directory of relative paths.'
443452
#if defined(GRID)
444453
print'(/,1x,a)',' --restart N'
445-
print'(1x,a)', ' read in increment N and continues with calculating'
446-
print'(1x,a)', ' increment N+1, N+2, ... based on this'
447-
print'(1x,a)', ' works only if the restart information for increment N'
448-
print'(1x,a)', ' is available in JOBNAME_restart.hdf5'
449-
print'(1x,a)', ' append to existing results file JOBNAME.hdf5'
454+
print'(1x,a)', ' Restart simulation from given increment.'
455+
print'(1x,a)', ' Read in increment N and, based on this, continue with'
456+
print'(1x,a)', ' calculating increments N+1, N+2, ...'
457+
print'(1x,a)', ' Requires restart information for increment N to be present in'
458+
print'(1x,a)', ' JOBNAME_restart.hdf5 and will append subsequent results to'
459+
print'(1x,a)', ' existing file JOBNAME.hdf5.'
450460
#endif
451461
print'(/,1x,a)','-----------------------------------------------------------------------'
452462
print'(1x,a)', 'Help:'
453463
print'(/,1x,a)',' --help'
454-
print'(1x,a,/)',' Prints this message and exits'
464+
print'(1x,a,/)',' Display help and exit.'
455465

456466
call quit(0)
457467

0 commit comments

Comments
 (0)