carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
carputils.model.general.AbstractIonicModel Class Reference
Inheritance diagram for carputils.model.general.AbstractIonicModel:
carputils.model.general.DreamMixin carputils.model.general.RegionMixin carputils.model.general.ModelMixin carputils.model.general.AbstractModelComponent carputils.model.general.ParameterSetMixin carputils.model.general.ExternalIonicModel

Public Member Functions

def __init__ (self, *args, **kwargs)
 
def set_stress (self, stress)
 
def opts (self)
 Generator that yields field name - value pairs for the command line. More...
 
def opts_formatted (self, index)
 Return the command line options for this model component. More...
 
- Public Member Functions inherited from carputils.model.general.DreamMixin
def CVrest (self, psi=159.0, theta=137.0, kappa=53.0, rho=811.0)
 Specify CV restitution properties for the eikonal model using the DREAM. More...
 
def Idiff (self, model=0, alpha_i="{149.5, 41.2,-192.2}", beta_i="{2.383,2.07,2.56}", gamma_i="{0.22,0.56,0.29}", A_F=0.91, tau_F=0.25, V_th=-30.)
 Diffusion current approximation for RE+, RE-, and DREAM solution methods. More...
 
def dream_opts (self)
 Generator yielding all defined DREAM options as (name, value) pairs. More...
 
- Public Member Functions inherited from carputils.model.general.RegionMixin
def __init__ (self, IDs=[], name=None, emi=False, *args, **kwargs)
 
- Public Member Functions inherited from carputils.model.general.ModelMixin
def slug (self)
 Generate a descriptive short name. More...
 
- Public Member Functions inherited from carputils.model.general.AbstractModelComponent
def __init__ (self, **fields)
 

Public Attributes

 PRM_ARRAY
 

Static Public Attributes

string PRM_ARRAY = 'imp_region'
 
string PRM_LENGTH = 'num_imp_regions'
 
string MODELFIELD = 'im'
 
string PARAMSET_FIELD = 'im_param'
 
list FIELDS
 
- Static Public Attributes inherited from carputils.model.general.ModelMixin
 MODELFIELD = None
 
 MODELID = None
 
 SHORTNAME = None
 
- Static Public Attributes inherited from carputils.model.general.ParameterSetMixin
 PARAMETERS = None
 
 PARAMSET_FIELD = None
 
- Static Public Attributes inherited from carputils.model.general.AbstractModelComponent
 PRM_ARRAY = None
 
 PRM_LENGTH = None
 
list FIELDS = []
 

Constructor & Destructor Documentation

◆ __init__()

def carputils.model.general.AbstractIonicModel.__init__ (   self,
args,
**  kwargs 
)

Member Function Documentation

◆ opts()

def carputils.model.general.AbstractIonicModel.opts (   self)

Generator that yields field name - value pairs for the command line.

Reimplemented from carputils.model.general.AbstractModelComponent.

◆ opts_formatted()

def carputils.model.general.AbstractIonicModel.opts_formatted (   self,
  index 
)

Return the command line options for this model component.

   Parameters
   ----------

index int The array index to use in generating the option list

Reimplemented from carputils.model.general.AbstractModelComponent.

◆ set_stress()

def carputils.model.general.AbstractIonicModel.set_stress (   self,
  stress 
)

Member Data Documentation

◆ FIELDS

list carputils.model.general.AbstractIonicModel.FIELDS
static
Initial value:
= ['cellSurfVolRatio',
'volFrac',
'im_sv_dumps',
'im_sv_init']

◆ MODELFIELD

string carputils.model.general.AbstractIonicModel.MODELFIELD = 'im'
static

◆ PARAMSET_FIELD

string carputils.model.general.AbstractIonicModel.PARAMSET_FIELD = 'im_param'
static

◆ PRM_ARRAY [1/2]

string carputils.model.general.AbstractIonicModel.PRM_ARRAY = 'imp_region'
static

◆ PRM_ARRAY [2/2]

carputils.model.general.AbstractIonicModel.PRM_ARRAY

◆ PRM_LENGTH

string carputils.model.general.AbstractIonicModel.PRM_LENGTH = 'num_imp_regions'
static

The documentation for this class was generated from the following file: