Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
ConstantField Class Reference

#include <constantfield.hpp>

Public Member Functions

 ConstantField ()
void initialize (const double Bx, const double By, const double Bz)
Real operator() (Real x, Real y, Real z, coordinate component, unsigned int derivative, coordinate dcomponent) const

Private Attributes

bool _initialized
double _B [3]

Detailed Description

Definition at line 32 of file constantfield.hpp.

Constructor & Destructor Documentation

◆ ConstantField()

ConstantField::ConstantField ( )
inline

Definition at line 38 of file constantfield.hpp.

Member Function Documentation

◆ initialize()

void ConstantField::initialize ( const double Bx,
const double By,
const double Bz )

Definition at line 32 of file constantfield.cpp.

Here is the caller graph for this function:

◆ operator()()

double ConstantField::operator() ( Real x,
Real y,
Real z,
coordinate component,
unsigned int derivative,
coordinate dcomponent ) const

Definition at line 41 of file constantfield.cpp.

Member Data Documentation

◆ _B

double ConstantField::_B[3]
private

Definition at line 35 of file constantfield.hpp.

◆ _initialized

bool ConstantField::_initialized
private

Definition at line 34 of file constantfield.hpp.


The documentation for this class was generated from the following files: