9 #ifndef SRC_INCLUDE_SMASH_FIELDS_H_ 
   10 #define SRC_INCLUDE_SMASH_FIELDS_H_ 
   62     for (
int i = 1; i < 4; i++) {
 
  148     const Potentials &potentials, 
const double time_step);
 
A class for calculating the fields A^mu associated with the VDF potentials.
 
std::array< FourVector, 4 > dAmu_dxnu() const
 
void overwrite_dAmu_dt_to_zero()
Overwrite the time derivative of A^mu to zero.
 
FourVector A_mu_
Four-vector density of the field.
 
std::array< FourVector, 4 > dAmu_dxnu_
Four-gradient of the four-vector density of the field.
 
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...
 
ThreeVector grad_A0()
Compute the gradient of A^0 on the local lattice.
 
void overwrite_A_mu(FourVector new_A_mu)
Overwrite the value of the field on the local lattice.
 
FieldsOnLattice()
Default constructor.
 
ThreeVector curl_vecA()
Compute the curl of the field on the local lattice.
 
The FourVector class holds relevant values in Minkowski spacetime with (+, −, −, −) metric signature.
 
A class that stores parameters of potentials, calculates potentials and their gradients.
 
A container class to hold all the arrays on the lattice and access them.
 
The ThreeVector class represents a physical three-vector  with the components .
 
void set_x1(double x)
set first component
 
void set_x3(double z)
set third component
 
void set_x2(double y)
set second component
 
void update_fields_lattice(RectangularLattice< FieldsOnLattice > *fields_lat, RectangularLattice< FourVector > *old_fields, RectangularLattice< FourVector > *new_fields, RectangularLattice< std::array< FourVector, 4 >> *fields_four_grad_lattice, DensityLattice *jmu_B_lat, const LatticeUpdate fields_lat_update, const Potentials &potentials, const double time_step)
Updates the contents on the lattice of FieldsOnLattice type.
 
LatticeUpdate
Enumerator option for lattice updates.
 
RectangularLattice< FieldsOnLattice > FieldsLattice
Conveniency typedef for lattice of fields.