#include <GetVelocity.H>
◆ GetVelocityVector()
Construct the functor with information provided by vel.
- Parameters
-
| [in] | vel | const reference to the VelocityProperties object that will be used to populate the functor |
◆ operator()()
Functor call. Returns the value of velocity at the location (x,y,z)
- Parameters
-
| [in] | x | x-coordinate of given location |
| [in] | y | y-coordinate of given location |
| [in] | z | z-cooridnate of given location |
- Returns
- value of velocity at (x,y,z). m_ux_mean, m_uy_mean, m_uz_mean if m_type is VelConstantVector m_ux_mean_parser(x,y,z), m_uy_mean_parser(x,y,z), m_uz_mean_parser(x,y,z) if m_type is VelParserFunctionVector
◆ m_type
◆ m_ux_mean
Constant velocity value, if m_type == VelConstantVector
◆ m_ux_mean_parser
Velocity parser function, if m_type == VelParserFunctionVector
◆ m_uy_mean
◆ m_uy_mean_parser
◆ m_uz_mean
◆ m_uz_mean_parser
The documentation for this struct was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/26.06/Source/Initialization/GetVelocity.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/26.06/Source/Initialization/GetVelocity.cpp