# Executions

## Solve

<Solve .../>


Main solution element. It runs a prescribed number of iterations.

Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)

## RunAction

<RunAction .../>


Main solution element. It runs a prescribed number of iterations.

Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
name= The name of the action to run Select from: list(special = "Actions")

<Adjoint .../>

Attribute Comment Value
Iterations= Value with unit (int)

## Optimize

<Optimize .../>

Attribute Comment Value
Iterations= Value with unit (int)
Method= Optimization method Select from: MMA, L-BFGS-B, COBYLA, NELDERMEAD
Material= Optional constraint on "amount of material", which is the sum of Topological parameters Select from: more, less
XAbsTolerance= Numeric (float)
RelTolerance= Relative Tolerance Numeric (float)
AbsTolerance= Absolute Tolerance Numeric (float)
StopAtValue= At what value of the objective to stop Numeric (float)
MaxEvaluations= Maximal number of evalulations (optimizer iterations) Numeric (int)

## Threshold

<Threshold .../>


Goes with a threshold from 0 to 1. Then for a specific threshold sets all the parameter below the threshold to 0 and above the threshold to 1. Then runs the calculation for the binary (0-1) parameter set.

Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
Levels= Number of Levels to calculate between 0 and 1 Numeric (int)

## ThresholdNow

<ThresholdNow .../>


For a specific threshold sets all the parameter below the threshold to 0 and above the threshold to 1. Then runs the calculation for the binary (0-1) parameter set.

Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
Level= Threshold level to apply Numeric (float)

## Repeat

<Repeat Times="5">
<Init/>
<Solve Iterations="1000"/>
<VTK/>
</Repeat>


A loop element Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
Times= Numer of Times to repeat a segment Numeric (int)

## Container

<Container>
<VTK Iterations="10"/>
<Solve Iterations="1000"/>
</Container>


A simple container element Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)

<LoadBinary .../>


Load a Field from a binary file (low level) Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
file= path to a binary file (without the suffix) Unknown type
comp= Field to load from the binary file Select from: list(special = "Fields")

## SaveBinary

<SaveBinary .../>


Save a Field to a binary file (low level) Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
file= the name of the binary file Unknown type
filename= full path to the binary file Unknown type
comp= Field to save to the binary file Select from: list(special = "Fields")

<LoadMemoryDump .../>


Load all fields from a dump created by Save element Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
file= path to a binary file (without the suffix) Unknown type

## SaveMemoryDump

<SaveMemoryDump .../>


Save all fields, to be loaded later on with LoadMemoryDump Warning: Save and Load Memory Dump have to be used on the same number of cores, same model and same precision.

Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
file= the name of the binary file Unknown type
filename= full path to the binary file Unknown type

## EvalIf

<EvalIf .../>


Evaluate subactions only if opt_present build (d2qg and d2q9_bc, option is bc )options are present, or only if opt_missing is missing

Possible children: Params (<Param/>)

Attribute Comment Value
Iterations= Value with unit (int)
opt_present= Unknown type
opt_missing= Unknown type