Function pcms::MakeEQDSKField(const EQDSKData&)
Defined in File eqdsk_field.h
Function Documentation
-
inline EQDSKField pcms::MakeEQDSKField(const EQDSKData &eqdsk_data)
Create a SplineFunctionSpace and Field from EQDSKData, combining function space creation, field allocation, and DOF holder data population into a single call.
Performs three steps:
Creates a SplineFunctionSpace from the EQDSK data
Creates a Field<Real> on that function space
Populates the field’s DOF holder with the PSIZR flux data
- Parameters:
eqdsk_data – The EQDSK equilibrium data containing the grid and flux values.
- Returns:
EQDSKField A struct containing the function space and populated field, ready for evaluation.