mat_from_interp
- nrv.fmod.FEM.fenics_utils.mat_from_interp(X, Y, kind='linear', dx=0.01, interpolator=None, dxdy=None, scale=None, columns=0) f_material [source]
Return a fenics material with a conductivity space function define as the
nrv_interp
of X and Y- Parameters:
f_material (str) – either material name if the material is in the NRV2 Librairy or path to the corresponding .mat material file
kwargs (dict) – interpolation k arguments (see
nrv_interp
)
- Returns:
mat_obj – Fenics material with conductivity function defined from the interpolation
- Return type: