File fixed_velocity.hxx

Defines

FIXED_VELOCITY_H
struct FixedVelocity : public Component
#include <fixed_velocity.hxx>

Set parallel velocity to a fixed value

Public Functions

inline FixedVelocity(std::string name, Options &alloptions, Solver *solver)
inline virtual void transform(Options &state) override

This sets in the state

  • species

    • <name>

      • velocity

      • momentum

inline virtual void outputVars(Options &state) override

Add extra fields for output, or set attributes e.g docstrings.

Private Members

std::string name

Short name of species e.g “e”.

Field3D V

Species velocity (normalised)