Heaviside step function.
More...
Heaviside step function.
- See also
- heaviside
|
def | __init__ (self, name, variable, left, right, direction=None, center=None, transitionwidth=None, 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.functions.arbitrary.heaviside.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
variable, |
|
|
|
left, |
|
|
|
right, |
|
|
|
direction = None , |
|
|
|
center = None , |
|
|
|
transitionwidth = None , |
|
|
|
variable_components = None |
|
) |
| |
- Parameters
-
name | |
direction | vector indicating normal of the step interface |
center | point on the shock interface |
neg | value on the side where (x-center).direction is negative ('LeftValue') |
pos | value on the side where(x-center).direction is positive ('RightValue') |
transitionwidth | width of smooth transition |
Reimplemented from warpy.apps.application.application.
The documentation for this class was generated from the following file: