FEMResults

class nrv.fmod.FEM.fenics_utils.FEMResults(mesh_file='', domain=None, elem=('Lagrange', 1), V=None, vout=None, comm=<MagicMock name='mock.MPI.COMM_WORLD' id='139958333671376'>)[source]

Result of a FEMSimulation. Store the resulting function space giving the possibility to apply basic mathematical operations on multiple results

Methods

FEMResults.__init__([mesh_file, domain, ...])

initialisation of the FEMParameters:

FEMResults.aline_V(res2)

Change the function space of the result to aline with the result of another FEMResults

FEMResults.eval(X[, is_multi_proc])

Eval the result field at X position

FEMResults.get_parameters()

Generic method returning all the atributes of an NRV_class instance

FEMResults.load(file)

Generic loading method for NRV_class instance

FEMResults.load_sim_result([data])

FEMResults.save(file[, ftype, overwrite, t])

Generic saving method for NRV_class instance.

FEMResults.save_sim_result(file[, ftype, ...])

FEMResults.set_parameters(**kawrgs)

Generic method to set any attribute of NRV_class instance

FEMResults.set_sim_result([mesh_file, ...])

FEMResults.vector()