|
def | __init__ (self, name, field_var, Chi_E, Chi_B, omega_c_norm, omega_p_norm, c_0_norm, masses=None, charges=None, mass_densities=[], velocities=[], charge_density=None, momentums=[], current_density=None, field_components=None, fluxes_only=False, **kwargs) |
|
def | __init__ (self, name, req_attrs, opt_attrs=None, variables=None, lhs_var=None) |
|
def | variables (self) |
|
def | attrs (self, stage=None) |
|
◆ __init__()
def warpy.hyperapps.pcmaxwell.pcmaxwell.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
field_var, |
|
|
|
Chi_E, |
|
|
|
Chi_B, |
|
|
|
omega_c_norm, |
|
|
|
omega_p_norm, |
|
|
|
c_0_norm, |
|
|
|
masses = None , |
|
|
|
charges = None , |
|
|
|
mass_densities = [] , |
|
|
|
velocities = [] , |
|
|
|
charge_density = None , |
|
|
|
momentums = [] , |
|
|
|
current_density = None , |
|
|
|
field_components = None , |
|
|
|
fluxes_only = False , |
|
|
** |
kwargs |
|
) |
| |
- Parameters
-
name | |
field_var | |
masses | list of normalized masses |
charges | list of normalized charges |
Chi_E | cleaning parameter |
Chi_B | cleaning parameter |
omega_c_norm | |
omega_p_norm | |
c_0_norm | |
mass_densities | list of tuples (field_var, component name) |
charge_density | tuple (fluid_var, component name) |
velocities | list of tuples (fluid_var, vx component, vy component, vz component) |
momentums | list of tuples (fluid_var, px component, py component, pz component) |
current_density | tuple (fluid_var, Jx component, Jy component, Jz component) |
field_components | list of components for [Ex, Ey, Ez, Bx, By, Bz] or None to use components of field_var |
fluxes_only | True to have no cleaning |
Reimplemented from warpy.hyperapps.hyperapp.hyperapp.
The documentation for this class was generated from the following file: