piglot.solver.input_file_solver.ScriptOutputField

class ScriptOutputField[source]

Bases: OutputField

Class for script-bsaed output fields.

Methods

check

Check for validity in the input data before reading.

get

Read the output data from the simulation.

read

Read the output field from the configuration dictionary.

check(input_data: InputData) None[source]

Check for validity in the input data before reading.

Parameters

input_dataInputData

Input data to check for.

abstract get(input_data: InputData) OutputResult

Read the output data from the simulation.

Parameters

input_dataInputData

Input data to check for.

Returns

OutputResult

Output result for this field.

static read(config: Dict[str, Any]) ScriptOutputField[source]

Read the output field from the configuration dictionary.

Parameters

configDict[str, Any]

Configuration dictionary.

Returns

ScriptOutputField

Output field to use for this problem.