check_sim_dom

nrv.fmod.FEM.check_sim_dom(sim: FEMSimulation, mesh: NerveMshCreator)[source]

Check if all the physical domains of a mesh are linked to a material property. This function can either prevent errors or help to debbug

Paramters

sim: FEMSimulation

Simulation to check.

mesh: NerveMshCreator

Mesh in used for the silmulation.

returns:

True if all domains are linked to a material, False otherwise.

rtype:

bool