pyopensn.fieldfunc.FieldFunctionInterpolation

class pyopensn.fieldfunc.FieldFunctionInterpolation

Base class for field-function interpolation objects.

Wrapper of opensn::FieldFunctionInterpolation.

AddFieldFunction(self: pyopensn.fieldfunc.FieldFunctionInterpolation, ff: pyopensn.fieldfunc.FieldFunction) None

Add a field function to the list.

Execute(self: pyopensn.fieldfunc.FieldFunctionInterpolation) None

Execute field function interpolator.

ExportToCSV(self: pyopensn.fieldfunc.FieldFunctionInterpolation, base_name: str) None

Export field function interpolation to CSV files.

Parameters:

base_name (str) – Base name of the exported CSVs.

static GetFieldFunctionByName(ff_name: str) list

Get the list of field functions matching a given name.

This function returns a list of field functions whose names match the given argument. The list may be empty or contain multiple elements.

Parameters:

ff_name (str) – Field function name

Initialize(self: pyopensn.fieldfunc.FieldFunctionInterpolation) None

Initialize field function interpolator.

__init__(*args, **kwargs)