FENICS_lumped_impedance_model
- class nrv.fmod.FEM.FENICS_lumped_impedance_model(fname=None, Ncore=None, handle_server=False, elem=None, comm='default', rank=0)[source]
A class for FENICS Finite Element Models, inherits from FENICS_model.
Attributes
Methods
Creates a instance of a FENICS Finite Element Model object. |
|
TO BE WRITTEN |
|
Build the geometry and perform meshing process |
|
Visualize the model mesh WARNING: debbug use only + might not work on all os |
|
Get the all the parameters in the model as a python dictionary. |
|
Get the potential on a line to get extracellular potential for axons stimulation. |
|
Returns the timers of each step of the FEM computation |
|
Load all extracellular context properties from a dictionary or a json file |
|
remove a fascicle of the FEM simulation |
|
reset model parameters |
|
Reshape a fascicle of the FEM simulation |
|
Reshape the nerve of the FEM simulation |
|
Reshape the size of the FEM simulation outer box |
|
|
Save the changes to the model file. |
Save the changes to the model file. |
|
Set the number of cores to use for the FEM |
|
Set material files for any domain |
|
Generic method to set any attribute of |
|
TO BE WRITTEN |
|
|
Solve the model |