get_mesh_domid

nrv.fmod.FEM.mesh_creator.get_mesh_domid(objtype: str, objid: int = 0, is_surf: bool = False) int[source]

function returning the corresponding physical domain in the mesh of an object in the context.

Parameters:
  • objtype (str) – type of object

  • objid (int, optional) – for facicle, axon or electrode the corresponding id in the nerve, by default 0

  • is_surf (bool, optional) – if true return the id of the surface dom, by default False

Return type:

int