load_f_material

nrv.fmod.FEM.fenics_utils.load_f_material(X: any = None, **kwargs) f_material[source]

Return fenics material from an object X

Parameters:

X (objects) – if material or fenics material returning the corresponding fenics material if float returns an isotropic fenics material with X as conductivity value if str finishing with .csv use mat_from_csv with kwargs else return None