2.6.16. postprocessor{} (optional)

A group allowing to run post-processing automatically after the simulation is done.

postprocessor{
    datafile = "query.bat"
    call = "query.bat"
    goto_output = yes
}

!DATA

@echo off

@echo:

FOR %%? IN (*.*) DO (
    ECHO File Name Only       : %%~n?
    ECHO Name in 8.3 notation : %%~sn?
    ECHO File Extension       : %%~x?
    ECHO File Attributes      : %%~a?
    ECHO Located on Drive     : %%~d?
    ECHO File Size            : %%~z?
    ECHO Last-Modified Date   : %%~t?
    ECHO Parent Folder        : %%~dp?
    ECHO Fully Qualified Path : %%~f?
    ECHO FQP in 8.3 notation  : %%~sf?
    @echo:
)

@echo:
datafile (optional)

If datafile is defined, then a file datafile is created in the output directory. The content of the !DATA section, if it exists, will be written into this file. Possible content in the !DATA section could be, e.g., comments, copyright or user info, or scripts in Python, Julia, Bash, Cmd, etc.

type:

string

default:

not defined

call (optional)

If call is defined, then it is used as a shell command line, typically cmd on Windows and bash on Linux, which will be launched. This command line can, but does not have to, refer to a file defined by datafile.

Attention

Calling GUI based programs such as ParaView is also possible but may interfere with operation of job control software such as nextnanomat or nextnanopy, as the job will only be considered finished once also all the post-processing tasks are finished.

type:

string

default:

not defined

goto_output (optional)

If goto_output = yes then the shell command defined by call will be launched from within the output directory. Otherwise, the directory from where nextnano++ has been launched will be used.

type:

choice

values:

yes or no

default:

no