WarpX
Loading...
Searching...
No Matches
VelocityProperties.H
Go to the documentation of this file.
1/* Copyright 2021 Hannah Klion
2 *
3 * This file is part of WarpX.
4 *
5 * License: BSD-3-Clause-LBNL
6 */
7
8#ifndef WARPX_VELOCITY_PROPERTIES_H_
9#define WARPX_VELOCITY_PROPERTIES_H_
10
11#include <AMReX_ParmParse.H>
12#include <AMReX_Parser.H>
13#include <AMReX_REAL.H>
14
15/* Type of velocity initialization. Used by VelocityProperties and GetVelocityVector. */
17
26{
38 VelocityProperties (const amrex::ParmParse& pp, std::string const& source_name);
39
40 /* Type of velocity initialization */
42
43 /* Mean velocity components for velocity vector, if m_type == VelConstantVector */
45 /* Storage of the parser functions for velocity vector, if m_type == VelParserFunctionVector */
47};
48
49#endif //WARPX_VELOCITY_PROPERTIES_H_
amrex::ParmParse pp
VelocityInitType
Definition VelocityProperties.H:16
@ VelParserFunctionVector
Definition VelocityProperties.H:16
@ VelConstantVector
Definition VelocityProperties.H:16
amrex_real Real
std::unique_ptr< amrex::Parser > m_ptr_uy_mean_parser
Definition VelocityProperties.H:46
std::unique_ptr< amrex::Parser > m_ptr_ux_mean_parser
Definition VelocityProperties.H:46
amrex::Real m_uz_mean
Definition VelocityProperties.H:44
VelocityProperties(const amrex::ParmParse &pp, std::string const &source_name)
Read runtime parameters to populate constant or spatially-varying velocity information.
Definition VelocityProperties.cpp:66
amrex::Real m_ux_mean
Definition VelocityProperties.H:44
VelocityInitType m_type
Definition VelocityProperties.H:41
amrex::Real m_uy_mean
Definition VelocityProperties.H:44
std::unique_ptr< amrex::Parser > m_ptr_uz_mean_parser
Definition VelocityProperties.H:46