WARPXM v1.10.0
|
Function which creates gaussian, polynomial, or uniform columns in a fluid. More...
Function which creates gaussian, polynomial, or uniform columns in a fluid.
If no optional parameters are specified will set enitire domain to constant value.
Public Member Functions | |
def | __init__ (self, name, fluid, mass, gamma, background_density, peak_density, temperature, radius=None, num_cols=None, center_x=None, center_y=None, center_z=None, gaussian=False, polynomial=False, degree=None, fluid_components=None) |
Public Member Functions inherited from warpy.apps.application.application | |
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) |
Public Member Functions inherited from warpy.apps.application.applications_container | |
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 | |
Additional Inherited Members | |
Public Attributes inherited from warpy.apps.application.application | |
vars_ | |
const_vars_ | |
components_ | |
const_components_ | |
component_map | |
Public Attributes inherited from warpy.apps.application.applications_container | |
component_map | |
applications | |
int_components_ | |
int_const_components_ | |
def warpy.apps.functions.five_moment.pulses_fluid5.__init__ | ( | self, | |
name, | |||
fluid, | |||
mass, | |||
gamma, | |||
background_density, | |||
peak_density, | |||
temperature, | |||
radius = None , |
|||
num_cols = None , |
|||
center_x = None , |
|||
center_y = None , |
|||
center_z = None , |
|||
gaussian = False , |
|||
polynomial = False , |
|||
degree = None , |
|||
fluid_components = None |
|||
) |
name | Name of module |
mass | Mass of fluid particle |
gamma | Gas Gamma of fluid |
background_density | Background density |
peak_density | Peak density in the pulse |
temperature | Temperature of fluid |
radius | Radius of the pulse |
num_cols | Total number of columns |
center_x | Etc. List of positions of centers of pulses |
gaussian | Whether density profile is gaussian |
polynomial | Whether density profile is an inverted even polynomial of degree degree |
degree | Degree of the polynomial |
Reimplemented from warpy.apps.application.application.