layered_material.save

layered_material.save(save=False, fname='Fenics_model.json', blacklist=[], **kwargs)

Return material as dictionary and eventually save it as json file

Parameters:
  • save (bool) – if True, save in json files

  • fname (str) – Path and Name of the saving file, by default “material.json”

Returns:

mat_dic – dictionary containing all information

Return type:

dict