Sapphire++
 v1.3.0-144-g23cb521
Loading...
Searching...
No Matches
vfp-flags.h File Reference

Define sapphirepp::VFP::VFPFlags and other enums used by the sapphirepp::VFP module. More...

#include <cstdint>
Include dependency graph for vfp-flags.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sapphirepp
 Namespace for Sapphire+⁠+.
namespace  sapphirepp::VFP
 Namespace for the Vlasov-Fokker-Planck module.

Enumerations

enum class  sapphirepp::VFP::VFPFlags : std::uint16_t {
  none = 0 , sapphirepp::VFP::time_evolution = 1 << 0 , sapphirepp::VFP::spatial_advection = 1 << 1 , sapphirepp::VFP::collision = 1 << 2 ,
  sapphirepp::VFP::rotation = 1 << 3 , sapphirepp::VFP::time_independent_fields = 1 << 4 , sapphirepp::VFP::momentum = 1 << 5 , sapphirepp::VFP::linear_p = 1 << 6 ,
  sapphirepp::VFP::source = 1 << 7 , sapphirepp::VFP::time_independent_source = 1 << 8 , sapphirepp::VFP::scaled_distribution_function = 1 << 9 , sapphirepp::VFP::local_lax_friedrichs_flux = 1 << 10 ,
  sapphirepp::VFP::radiation_reaction = 1 << 11
}
 Flags to activate the different terms of the VFP equation. More...
enum class  sapphirepp::VFP::BoundaryConditions : std::uint8_t {
  sapphirepp::VFP::continuous , sapphirepp::VFP::zero_inflow , sapphirepp::VFP::reflective , sapphirepp::VFP::inflow ,
  sapphirepp::VFP::periodic
}
 Boundary conditions for the VFP equation. More...
enum class  sapphirepp::VFP::TimeSteppingMethod : std::uint8_t {
  sapphirepp::VFP::crank_nicolson , sapphirepp::VFP::forward_euler , sapphirepp::VFP::backward_euler , sapphirepp::VFP::erk4 ,
  sapphirepp::VFP::lserk4
}
 Time stepping methods for the VFP equation. More...
enum class  sapphirepp::VFP::GridType : std::uint8_t { sapphirepp::VFP::hypercube , sapphirepp::VFP::shock , sapphirepp::VFP::file }
 Grid generation types for the VFP equation. More...

Functions

constexpr VFPFlags sapphirepp::VFP::operator| (VFPFlags f1, VFPFlags f2)
 Implement the bitwise OR operator for the VFPFlags.
constexpr VFPFlags sapphirepp::VFP::operator& (VFPFlags f1, VFPFlags f2)
 Implement the bitwise AND operator for the VFPFlags.
template<typename StreamType>
StreamType & sapphirepp::VFP::operator<< (StreamType &os, VFPFlags f)
 Print the VFPFlags to a stream.

Detailed Description