applications_container is used as a storage mechanism for applications
|
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
|
|
def warpy.apps.application.applications_container.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
applications, |
|
|
|
req_attrs, |
|
|
|
opt_attrs = None , |
|
|
|
extra_components = None , |
|
|
|
extra_const_components = None |
|
) |
| |
- Parameters
-
int_variables | additional internal variables which are not part of any applications should be in the same format as returned by app.components() |
int_const_variables | additional internal constant variables which are not part of any applications. Should be in the same format as returned by app.const_components() |
Reimplemented in warpy.apps.integrate.integrate.volume_integrator, warpy.apps.maxwell.maxwell.sinc_wall, warpy.apps.phmaxwell.phmaxwell.sinc_wall, warpy.apps.maxwell.maxwell.sinc_absorbing_wall, warpy.apps.simple.bc_oscillating, warpy.apps.phmaxwell.phmaxwell.oscillating_wall, warpy.apps.maxwell.maxwell.oscillating_wall, warpy.apps.mhd.imhd.imhd.reaction_source, warpy.apps.five_moment.five_moment.sheath_bc, warpy.apps.five_moment.five_moment.ein_bc, warpy.apps.mhd.rmhd.rmhd.pn_bc, warpy.apps.five_moment.five_moment.freeslip_wall_gradients, warpy.apps.mhd.rmhd.rmhd_conducting_wall.rmhd_conducting_wall_freeslip_gradients, warpy.apps.mhd.hallmhd.hallmhd.conducting_wall_freeslip_gradients, warpy.apps.mhd.imhd.imhd_conducting_wall.imhd_conducting_wall_freeslip_gradients, warpy.apps.mhd.imhd.imhd_freeslip_wall.imhd_freeslip_wall, warpy.apps.five_moment.five_moment.copyout_5moment, warpy.apps.maxwell.maxwell.copyout_maxwell, warpy.apps.mhd.imhd.imhd_copyout.imhd_copyout, warpy.apps.phmaxwell.phmaxwell.copyout_phmaxwell, warpy.apps.pcmaxwell.pcmaxwell.fluid_source, warpy.apps.five_moment.five_moment.axisymmetric_phfield_source_1D, warpy.apps.five_moment.five_moment.axisymmetric_field_source_1D, warpy.apps.five_moment.five_moment.axisymmetric_field_source_2D, warpy.apps.thirteen_moment.thirteen_moment.field_source, warpy.apps.plasma.plasma.frequency_check_13moment, warpy.apps.plasma.plasma.frequency_check_5moment, warpy.apps.maxwell.maxwell.axisymmetric_fluid_source_1D, warpy.apps.maxwell.maxwell.axisymmetric_fluid_source_2D, warpy.apps.maxwell.maxwell.fluid_source, warpy.apps.five_moment.five_moment.field_source, warpy.apps.phmaxwell.phmaxwell.fluid_source, warpy.apps.phmaxwell.phmaxwell.axisymmetric_fluid_source_1D, warpy.apps.pcmaxwell.pcmaxwell.flux, warpy.apps.five_moment.five_moment.artificial_viscosity_limiter_meier, warpy.apps.mhd.imhd.imhd.artificial_viscosity_limiter_meier, warpy.apps.mhd.imhd.imhd.artificial_viscosity_limiter, warpy.apps.five_moment.five_moment.artificial_viscosity_limiter, warpy.apps.five_moment.five_moment.artificial_viscosity_limiter_historical, warpy.apps.mhd.radiation.radiation.blackbody, warpy.apps.mhd.radiation.radiation.vacuum, warpy.apps.mhd.divergence_cleaning.divergence_cleaning.parabolic, warpy.apps.functions.arbitrary.linear_interpolation_1d, warpy.apps.mhd.rmhd.rmhd.density_diffusion_flux_mhd, warpy.apps.simple.decay, warpy.apps.simple.diffusion, warpy.apps.simple.diffusion_analytic, warpy.apps.simple.nonlinear_diffusion, warpy.apps.functions.kinetics.initial_constant, warpy.apps.functions.kinetics.drifting_maxwellian, warpy.apps.functions.kinetics.pressure_equilibrium, warpy.apps.functions.kinetics.kinetics2d2v_kelvin_helmholtz_instability_fluid_maxwellian, warpy.apps.functions.kinetics.kinetics1d2v_dory_guest_harris, warpy.apps.functions.kinetics.kinetics2d2v_dory_guest_harris, warpy.apps.functions.kinetics.kinetics1d1v_double_rarefaction, warpy.apps.functions.kinetics.maxwellian, warpy.apps.functions.kinetics.general_maxwellian_two_stream, warpy.apps.vlasovmaxwell.vlasovmaxwell.outflow_bc_1d1v, warpy.apps.functions.kinetics.counter_streaming_beams_2d2v, warpy.apps.functions.kinetics.kinetics2d2v_kelvin_helmholtz_instability, warpy.apps.functions.kinetics.weibel_custom, warpy.apps.functions.kinetics.vlasov_1d1v_landau_damping, warpy.apps.functions.kinetics.vlasov_1d1v_two_stream, warpy.apps.functions.kinetics.vlasov_2d2v_landau_damping, warpy.apps.functions.kinetics.custom_vlasov, warpy.apps.functions.unique_variable.iload, warpy.apps.maxwell.maxwell.zpinch_1D_field_analytic_solution, warpy.apps.maxwell.maxwell.imhd_to_maxwell, warpy.apps.maxwell.maxwell.antenna_single_freq_bc, warpy.apps.maxwell.maxwell.conducting_wall_yu, warpy.apps.maxwell.maxwell.axis_maxwell, warpy.apps.maxwell.maxwell.conducting_wall, warpy.apps.maxwell.maxwell.maxwell_to_maxwell, warpy.apps.pcmaxwell.pcmaxwell.conducting_wall_neumann, warpy.apps.functions.maxwell.langmuir_dispersion_field, warpy.apps.functions.maxwell.hartmann_field, warpy.apps.functions.maxwell.rti_field, warpy.apps.functions.maxwell.khi_maxwell, warpy.apps.functions.maxwell.khi_maxwell_2d2v_kinetic_setup, warpy.apps.functions.maxwell.plasma_switch_fields, warpy.apps.functions.maxwell.khi_maxwell_analytic, warpy.apps.functions.maxwell.uniform_maxwell, warpy.apps.functions.maxwell.flow_init_EM_5moment, warpy.apps.functions.maxwell.sine_field, warpy.apps.functions.maxwell.sinc_field, warpy.apps.functions.maxwell.sinc_field_2d, warpy.apps.functions.maxwell.custom_maxwell, warpy.apps.functions.maxwell.field_1d1v_landau_damping, warpy.apps.functions.maxwell.field_2d2v_landau_damping, warpy.apps.functions.maxwell.harris_current_sheet_field, warpy.apps.functions.maxwell.gem_field_1D, warpy.apps.functions.maxwell.gem_field, warpy.apps.functions.phmaxwell.zpinch_phfield_1D, warpy.apps.functions.maxwell.zpinch_field_1D, warpy.apps.functions.maxwell.zpinch_field_1D_Car, warpy.apps.functions.maxwell.zpinch_field_2D, warpy.apps.functions.maxwell.zpinch_field_test_1D, warpy.apps.functions.five_moment.plasma_switch_5moment, warpy.apps.thirteen_moment.thirteen_moment.pearsoniv, warpy.apps.functions.thirteen_moment.couette_flow_13moment, warpy.apps.functions.five_moment.radial_slab, warpy.apps.functions.five_moment.pulse_fluid5, warpy.apps.functions.mhd.pulse_mhd, warpy.apps.functions.five_moment.slab_fluid5, warpy.apps.functions.thirteen_moment.pulse_fluid13, warpy.apps.functions.thirteen_moment.shock_tube_13moment, warpy.apps.functions.five_moment.ramp, warpy.apps.functions.thirteen_moment.custom_13moment, warpy.apps.five_moment.five_moment.q_h_artificial_dissipation, warpy.apps.functions.five_moment.couette_flow_5moment, warpy.apps.functions.five_moment.cylindrical_couette_flow_5moment, warpy.apps.functions.five_moment.constant_ic5, warpy.apps.functions.five_moment.shock_tube_5moment, warpy.apps.functions.mhd.briowu_mhd, warpy.apps.functions.mhd.daiwoodward_mhd, warpy.apps.functions.five_moment.manual_density_and_pressure_5moment, warpy.apps.functions.five_moment.khi_5moment_analytic, warpy.apps.functions.five_moment.khi_5moment, warpy.apps.functions.five_moment.khi_5moment_kinetic_fluid_vars, warpy.apps.functions.mhd.gem_mhd, warpy.apps.functions.mhd.gem_mhd_1D, warpy.apps.functions.five_moment.rti_5moment, warpy.apps.functions.five_moment.harris_current_sheet_5moment, warpy.apps.functions.mhd.accel1d_mhd, warpy.apps.functions.five_moment.gem_5moment_new, warpy.apps.functions.mhd.hartmann_flow_mhd, warpy.apps.functions.mhd.bennett_equilibrium, warpy.apps.functions.five_moment.zpinch_5moment_electron_1D, warpy.apps.functions.five_moment.zpinch_5moment_electron_1D_Car, warpy.apps.functions.five_moment.zpinch_5moment_electron_2D, warpy.apps.functions.five_moment.zpinch_5moment_ion_1D, warpy.apps.functions.five_moment.zpinch_5moment_ion_1D_Car, warpy.apps.functions.five_moment.zpinch_5moment_ion_2D, warpy.apps.functions.mhd.zpinch_imhd_1D, warpy.apps.functions.mhd.zpinch_imhd_2D, warpy.apps.functions.five_moment.pulses_fluid5, warpy.apps.functions.thirteen_moment.random_velocity_fluid13, warpy.apps.functions.thirteen_moment.sinc_13moment, warpy.apps.functions.thirteen_moment.pulses_fluid13, warpy.apps.functions.thirteen_moment.hartmann_flow_13moment, warpy.apps.functions.thirteen_moment.gem_13moment, warpy.apps.functions.five_moment.langmuir_dispersion_5moment, warpy.apps.functions.thirteen_moment.harris_current_sheet_13moment, warpy.apps.functions.mhd.orszagtang_mhd, warpy.apps.thirteen_moment.thirteen_moment.freeslip_wall, warpy.apps.thirteen_moment.thirteen_moment.noslip_wall, warpy.apps.functions.mhd.custom_mhd, warpy.apps.five_moment.five_moment.general_source, warpy.apps.functions.thirteen_moment.plasma_switch_13moment, warpy.apps.plasma.plasma.pulse_inlet, warpy.apps.plasma.plasma.pulse_outlet, warpy.apps.mhd.imhd.imhd.twofluid_to_imhd, warpy.apps.mhd.imhd.imhd.twofluid_to_imhd_consistent_assumption, warpy.apps.plasma.plasma.imhd_to_twofluid, warpy.apps.simple.multiplier_bc, warpy.apps.mhd.hallmhd.hyperresistivity.hyperresistivity.electric_field_effect_cyl_source, warpy.apps.simple.linear_acoustics, warpy.apps.five_moment.five_moment.euler, warpy.apps.functions.five_moment.euler1d_arbitrary_shocktube_5moment, warpy.apps.functions.five_moment.euler1d_shock_entropy_problem_5moment, warpy.apps.functions.five_moment.euler2d_forward_facing_step_5moment, warpy.apps.functions.five_moment.euler2d_rp1_5moment, warpy.apps.functions.five_moment.flow_init_5moment, warpy.apps.five_moment.five_moment.euler_cyl_source, warpy.apps.mhd.imhd.imhd.cyl_source, warpy.apps.functions.five_moment.two_stream, warpy.apps.five_moment.five_moment.freeslip_wall, warpy.apps.five_moment.five_moment.freeslip_wall_yu, warpy.apps.five_moment.five_moment.axis_5moment, warpy.apps.five_moment.five_moment.noslip_wall, warpy.apps.mhd_analytic.hartmann_problem_analytic_solution, warpy.apps.functions.five_moment.euler1d_double_rarefaction_5moment, warpy.apps.five_moment.five_moment.intraspecies_collisions, warpy.apps.five_moment.five_moment.intraspecies_cyl, warpy.apps.mhd.radiation.radiation.impurity_line, warpy.apps.five_moment.five_moment.reflecting_wall, warpy.apps.functions.mhd.copy_pressure, warpy.apps.five_moment.five_moment.euler1d_riemann_problem_analytic_solution, warpy.apps.five_moment.five_moment.artificial_dissipation_cyl_source, warpy.apps.mhd.imhd.imhd.artificial_dissipation_cyl_source, warpy.apps.five_moment.five_moment.artificial_dissipation, warpy.apps.mhd.imhd.imhd.artificial_dissipation, warpy.apps.functions.five_moment.flow_init2_5moment, warpy.apps.functions.five_moment.gem_5moment, warpy.apps.mhd.radiation.radiation.bremsstrahlung, warpy.apps.mhd.imhd.imhd.timed_source, warpy.apps.mhd.imhd.imhd.injection_source, warpy.apps.five_moment.five_moment.interspecies_collisions, warpy.apps.five_moment.five_moment.euler_freeslip_wall_bc_flux, warpy.apps.five_moment.five_moment.noslip_wall_gradients, warpy.apps.five_moment.five_moment.freeslip_wall_gradients_yu, warpy.apps.five_moment.five_moment.axis_5moment_gradients, warpy.apps.functions.five_moment.gem_5moment_1D, warpy.apps.mhd.rmhd.rmhd.cyl_source, warpy.apps.mhd.rmhd.rmhd.electric_field, warpy.apps.mhd.rmhd.rmhd.ohmic_source_mhd, warpy.apps.mhd.hallmhd.hallmhd.cyl_source, warpy.apps.mhd.divergence_cleaning.divergence_cleaning.mixed_glm, warpy.apps.mhd.imhd.imhd.imhd_conserved_primitive_conversion, warpy.apps.mhd.imhd.imhd.imhd_powell_source, warpy.apps.mhd.imhd.imhd.imhd_arbitrary_source, warpy.apps.mhd.imhd.imhd.imhd, warpy.apps.mhd.imhd.imhd.axisymmetric_imhd_1D, warpy.apps.mhd.imhd.imhd.axisymmetric_imhd_2D, warpy.apps.five_moment.five_moment.five_moment_conserved_primitive_conversion, warpy.apps.five_moment.five_moment.navier_stokes, warpy.apps.vlasovmaxwell.vlasovmaxwell.vlasov_diffusion, warpy.apps.five_moment.five_moment.density_diffusion_flux, warpy.apps.mhd.hallmhd.hyperresistivity.hyperresistivity.ohms_law, warpy.apps.mhd.hallmhd.hyperresistivity.hyperresistivity.ohms_law_cyl_source, warpy.apps.mhd.hallmhd.hyperresistivity.hyperresistivity.electric_field_effect, warpy.apps.functions.maxwell.ein_ic_EM_5moment, warpy.apps.functions.phmaxwell.ein_ic_phEM_5moment, warpy.apps.functions.five_moment.ein_ic_5moment, warpy.apps.functions.unique_variable.adder, warpy.apps.functions.kinetics.kinetics1d1v_arbitrary_shocktube, warpy.apps.vlasovmaxwell.vlasovmaxwell.maxwellian_distance_metric, warpy.apps.functions.kinetics.five_moment_to_kinetic, warpy.apps.vlasovmaxwell.vlasovmaxwell.five_moment_to_kinetic, warpy.apps.five_moment.five_moment.geometric_source_1D, warpy.apps.five_moment.five_moment.kinetic_to_5moment, warpy.apps.vlasovmaxwell.vlasovmaxwell.bgk, warpy.apps.five_moment.five_moment.kinetic_to_five_moment_flux_bc, warpy.apps.vlasovmaxwell.vlasovmaxwell.energy_fluxmoment, warpy.apps.vlasovmaxwell.vlasovmaxwell.secondmoment, warpy.apps.vlasovmaxwell.vlasovmaxwell.full_dyadic_secondmoment, warpy.apps.functions.five_moment.set_density_and_pressure_floors_single_species_5moment, warpy.apps.functions.mhd.set_density_and_pressure_floors_mhd, warpy.apps.functions.thirteen_moment.electromagnetic_shock_tube_13moment, warpy.apps.functions.arbitrary.multiplier, warpy.apps.mhd.viscousmhd.viscousmhd.intraspecies_collisions_mhd, warpy.apps.mhd.viscousmhd.viscousmhd.intraspecies_cyl_source, warpy.apps.thirteen_moment.thirteen_moment.interspecies_collisions, warpy.apps.thirteen_moment.thirteen_moment.intraspecies_collisions, warpy.apps.thirteen_moment.thirteen_moment.intraspecies_collisions_parabolic, warpy.apps.functions.unique_variable.submodule_rlc_with_load_rhs, warpy.apps.functions.five_moment.set_density_and_pressure_floors_ions_electrons_5moment, warpy.apps.phmaxwell.phmaxwell.cyl_source, warpy.apps.maxwell.maxwell.divergence_error, warpy.apps.maxwell.maxwell.geometric_source_1D, warpy.apps.maxwell.maxwell.cyl_source, warpy.apps.vlasovmaxwell.vlasovmaxwell.langmuir_energy_source, warpy.apps.vlasovmaxwell.vlasovmaxwell.langmuir_wave_kinetic_eqn, warpy.apps.vlasovmaxwell.vlasovmaxwell.vlasov_ponderomotive_force, warpy.apps.vlasovmaxwell.vlasovmaxwell.actionmoment, warpy.apps.mhd.rmhd.rmhd.pn_bc_gradients, warpy.apps.phmaxwell.phmaxwell.conducting_wall, warpy.apps.phmaxwell.phmaxwell.conducting_wall_yu, warpy.apps.mhd.imhd.imhd_pulse_inlet.pulse_inlet, warpy.apps.mhd.imhd.imhd_pulse_outlet.pulse_outlet, warpy.apps.mhd.boundary_conditions.boundary_conditions.minus_electric_field_dot_tangent, warpy.apps.mhd.rmhd.rmhd.insulator_inlet_2d_cyl_bc_gradients, warpy.apps.mhd.rmhd.rmhd.porous_insulator_inlet_2d_cyl_bc_gradients, warpy.apps.mhd.rmhd.rmhd_conducting_wall.flowthrough_wall_gradients, warpy.apps.mhd.rmhd.rmhd_conducting_wall.flowthrough_wall, warpy.apps.mhd.imhd.imhd_conducting_wall.imhd_conducting_wall_freeslip_yu, warpy.apps.mhd.imhd.imhd_conducting_wall.imhd_conducting_wall_freeslip, warpy.apps.mhd.imhd.imhd_conducting_wall.imhd_conducting_wall_noslip_gradients, warpy.apps.mhd.imhd.imhd_conducting_wall.imhd_conducting_wall_freeslip_with_subapp, warpy.apps.mhd.imhd.imhd_conducting_wall.imhd_conducting_wall_noslip_yu, warpy.apps.mhd.imhd.imhd_conducting_wall.imhd_conducting_wall_noslip, warpy.apps.mhd.boundary_conditions.boundary_conditions.axis_bc, warpy.apps.mhd.boundary_conditions.boundary_conditions.axis_bc_gradients, warpy.apps.mhd.rmhd.rmhd_noslip_wall.rmhd_noslip_wall, warpy.apps.maxwell.maxwell.conducting_wall_gradient, warpy.apps.maxwell.maxwell.conducting_wall_gradient_yu, warpy.apps.maxwell.maxwell.axis_maxwell_gradient, warpy.apps.phmaxwell.phmaxwell.conducting_wall_gradient, warpy.apps.mhd.imhd.imhd_copyout.imhd_copyout_gradients, warpy.apps.simple.bc_neumann, warpy.apps.simple.bc_ramp, warpy.apps.simple.bc_pulse, warpy.apps.pcmaxwell.pcmaxwell.conducting_wall, warpy.apps.vlasovmaxwell.vlasovmaxwell.firstmoment, warpy.apps.vlasovmaxwell.vlasovmaxwell.zerothmoment, warpy.apps.functions.unique_variable.circuit_ic, warpy.apps.simple.advection_bc_flux, warpy.apps.mhd.rmhd.rmhd.density_diffusion_cyl_source_mhd, warpy.apps.five_moment.five_moment.density_diffusion_cyl_source, warpy.apps.general_apps.general_apps.lobc_source, warpy.apps.application.application, warpy.apps.functions.unique_variable.series_rlc_with_load_rhs, warpy.apps.functions.unique_variable.double_module_rlc_with_load_rhs, warpy.apps.functions.arbitrary.sine2d, warpy.apps.vlasovmaxwell.vlasovmaxwell.vlasovmaxwell, warpy.apps.mhd.hallmhd.hallmhd.hallmhd, warpy.apps.mhd.rmhd.rmhd.current_density, warpy.apps.mhd.rmhd.rmhd.resistive_diffusion, warpy.apps.phmaxwell.phmaxwell.flux, warpy.apps.maxwell.maxwell.flux, warpy.apps.functions.arbitrary.get_source, warpy.apps.five_moment.five_moment.reaction_source_mol, warpy.apps.five_moment.five_moment.reaction_source, warpy.apps.functions.arbitrary.set_to, warpy.apps.simple.bc_dirichlet, warpy.apps.coupled_diffusion.coupled_diffusion, warpy.apps.functions.arbitrary.fourier, warpy.apps.functions.arbitrary.TE_TM_mode, warpy.apps.functions.arbitrary.gaussian, warpy.apps.functions.arbitrary.bump, warpy.apps.functions.arbitrary.polynomial, warpy.apps.functions.arbitrary.bandpass, warpy.apps.functions.arbitrary.heaviside, warpy.apps.functions.arbitrary.trapezoid, warpy.apps.mhd.rmhd.rmhd.insulator_inlet_2d_cyl_bc, warpy.apps.mhd.rmhd.rmhd.porous_insulator_inlet_2d_cyl_bc, warpy.apps.functions.arbitrary.copy_vals, warpy.apps.functions.arbitrary.stationary_cylindrical_hyperdiffusion_bump, warpy.apps.general_apps.general_apps.bloch_periodic_bc, warpy.apps.integrate.integrate.int_DDn_dv_cylindrical_mhd, warpy.apps.integrate.integrate.int_KEx_dv, warpy.apps.integrate.integrate.int_ke_comp_dv, warpy.apps.integrate.integrate.int_Ex2_dv, warpy.apps.integrate.integrate.p_norm_diff, warpy.apps.integrate.integrate.max_diff, warpy.apps.integrate.integrate.p_norm_diff_analytic, warpy.apps.simple.advection_analytic, warpy.apps.simple.advection, and warpy.apps.vlasovmaxwell.vlasovmaxwell.langmuir_diffusion_coefficient.