#include <fields.h>
A class for calculating the fields A^mu associated with the VDF potentials.
The structure of the class is heavily based on the DensityOnLattice class.
It holds the values of the A^mu FourVector as well as fourgradients of its components.
Public Member Functions | |
FieldsOnLattice () | |
Default constructor. More... | |
FourVector | A_mu () const |
std::array< FourVector, 4 > | dAmu_dxnu () const |
ThreeVector | dvecA_dt () |
ThreeVector | grad_A0 () |
Compute the gradient of A^0 on the local lattice. More... | |
ThreeVector | curl_vecA () |
Compute the curl of the field on the local lattice. More... | |
void | overwrite_A_mu (FourVector new_A_mu) |
Overwrite the value of the field on the local lattice. More... | |
void | overwrite_dAmu_dt_to_zero () |
Overwrite the time derivative of A^mu to zero. More... | |
void | overwrite_dAmu_dxnu (FourVector dAmu_dt, FourVector dAmu_dx, FourVector dAmu_dy, FourVector dAmu_dz) |
Overwrite the four-gradient of A^mu on the local lattice, using the provided values of its components. More... | |
Private Attributes | |
FourVector | A_mu_ |
Four-vector density of the field. More... | |
std::array< FourVector, 4 > | dAmu_dxnu_ |
Four-gradient of the four-vector density of the field. More... | |
|
inline |
Default constructor.
Definition at line 35 of file fields.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Overwrite the time derivative of A^mu to zero.
|
inline |
Overwrite the four-gradient of A^mu on the local lattice, using the provided values of its components.
[in] | dAmu_dt | new value of the time derivative of A^mu |
[in] | dAmu_dx | new value of the x-derivative of A^mu |
[in] | dAmu_dy | new value of the y-derivative of A^mu |
[in] | dAmu_dz | new value of the z-derivative of A^mu |
Definition at line 106 of file fields.h.
|
private |
|
private |