Advection.
More...
Advection.
- Parameters
-
name | Name of module |
variable | Variable |
velocity | Velocity (list of 1, 2, or 3 values) |
components | Components of variable |
|
def | __init__ (self, name, velocity, variable, components=None) |
|
def | __init__ (self, name, req_attrs, opt_attrs=None, variables=None, const_variables=None, sub_applications=None) |
|
def | map_components (self, comp_map) |
|
def | variables (self) |
|
def | const_variables (self) |
|
def | components (self) |
|
def | const_components (self) |
|
def | attrs (self, stage=None) |
|
def | __init__ (self, name, applications, req_attrs, opt_attrs=None, extra_components=None, extra_const_components=None) |
|
def | convert_variable_to_components_list (self, variable, variable_components=None) |
|
def | convert_variables_to_components_list (self, variables, variables_components=None) |
|
def | convert_components_to_indexes (self, comps_list) |
|
def | internal_components (self) |
|
def | internal_const_components (self) |
|
def | map_components (self, comp_map) |
|
def | generate (self, start=None, stop=None, stride=1, explode_name=True, explode_args=True) |
| generates a list of blocks representing this pywarp object
|
|
◆ __init__()
def warpy.apps.simple.advection.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
req_attrs, |
|
|
|
opt_attrs, |
|
|
|
variables = None |
|
) |
| |
- Parameters
-
name | |
req_attrs | |
opt_attrs | |
variables | list of tuples of (arg_name, variable, components) which might be non-const. |
const_variables | list of tuples of (arg_name, variable, components) which are definitely const. |
Reimplemented from warpy.apps.application.application.
The documentation for this class was generated from the following file: