FENICS_model.__init__

FENICS_model.__init__(fname=None, Ncore=None, elem=None, comm='default', rank=0)[source]

Creates a instance of a FENICS Finite Element Model object.

Parameters:
  • fname (str) – path to the mesh file (.msh) file

  • Ncore (int) – number of FENICS cores for computation. If None is specified, this number is taken from the NRV2.ini configuration file. Byu default set to None

  • handle_server (bool) – if True, the instantiation creates the server, else a external server is used. Usefull for multiple cells sharing the same model