is_f_mat

nrv.fmod.FEM.fenics_utils.is_f_mat(mat: object) bool[source]

check if an object is a fenics_material, return True if yes, else False

Parameters:

mat (object) – object to test

Returns:

True it the type is a material object

Return type:

bool