WARPXM v1.10.0
Loading...
Searching...
No Matches
warpy.apps.functions.five_moment.pulses_fluid5 Class Reference

Function which creates gaussian, polynomial, or uniform columns in a fluid. More...

Inheritance diagram for warpy.apps.functions.five_moment.pulses_fluid5:
warpy.apps.application.application warpy.apps.application.applications_container

Detailed Description

Function which creates gaussian, polynomial, or uniform columns in a fluid.

If no optional parameters are specified will set enitire domain to constant value.

See also
WmICFunction_Pulse_Fluid5

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_
 

Constructor & Destructor Documentation

◆ __init__()

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 
)
Parameters
nameName of module
massMass of fluid particle
gammaGas Gamma of fluid
background_densityBackground density
peak_densityPeak density in the pulse
temperatureTemperature of fluid
radiusRadius of the pulse
num_colsTotal number of columns
center_xEtc. List of positions of centers of pulses
gaussianWhether density profile is gaussian
polynomialWhether density profile is an inverted even polynomial of degree degree
degreeDegree of the polynomial

Reimplemented from warpy.apps.application.application.


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