CHROMA
Public Member Functions | Private Attributes | List of all members
Chroma::ExternalFieldEnv::LinearElectricExternalField Class Reference

Construct Linear Electric field (E = epsilon*x) More...

#include <extfield_aggregate_w.h>

Inheritance diagram for Chroma::ExternalFieldEnv::LinearElectricExternalField:
Chroma::ExternalField

Public Member Functions

 LinearElectricExternalField (LinearElectricParams p)
 Full constructor. More...
 
 LinearElectricExternalField ()
 set time default to be Nd-1 and zero external field More...
 
LatticeComplex operator() (int dummy) const
 Return the field. More...
 
- Public Member Functions inherited from Chroma::ExternalField
virtual ~ExternalField ()
 Virtual destructor to help with cleanup;. More...
 

Private Attributes

int t_dir
 
int x_dir
 
int x_src
 
Real Efield
 
bool patch
 

Detailed Description

Construct Linear Electric field (E = epsilon*x)

Definition at line 90 of file extfield_aggregate_w.h.

Constructor & Destructor Documentation

◆ LinearElectricExternalField() [1/2]

Chroma::ExternalFieldEnv::LinearElectricExternalField::LinearElectricExternalField ( LinearElectricParams  p)
inline

Full constructor.

Definition at line 99 of file extfield_aggregate_w.h.

◆ LinearElectricExternalField() [2/2]

Chroma::ExternalFieldEnv::LinearElectricExternalField::LinearElectricExternalField ( )
inline

set time default to be Nd-1 and zero external field

Definition at line 105 of file extfield_aggregate_w.h.

Member Function Documentation

◆ operator()()

LatticeComplex Chroma::ExternalFieldEnv::LinearElectricExternalField::operator() ( int  dummy) const
virtual

Return the field.

Implements Chroma::ExternalField.

Definition at line 230 of file extfield_aggregate_w.cc.

References Efield, Chroma::END_CODE(), mu, patch, Chroma::START_CODE(), t_dir, x_dir, x_src, and XX.

Member Data Documentation

◆ Efield

Real Chroma::ExternalFieldEnv::LinearElectricExternalField::Efield
private

Definition at line 95 of file extfield_aggregate_w.h.

Referenced by operator()().

◆ patch

bool Chroma::ExternalFieldEnv::LinearElectricExternalField::patch
private

Definition at line 96 of file extfield_aggregate_w.h.

Referenced by operator()().

◆ t_dir

int Chroma::ExternalFieldEnv::LinearElectricExternalField::t_dir
private

Definition at line 92 of file extfield_aggregate_w.h.

Referenced by operator()().

◆ x_dir

int Chroma::ExternalFieldEnv::LinearElectricExternalField::x_dir
private

Definition at line 93 of file extfield_aggregate_w.h.

Referenced by operator()().

◆ x_src

int Chroma::ExternalFieldEnv::LinearElectricExternalField::x_src
private

Definition at line 94 of file extfield_aggregate_w.h.

Referenced by operator()().


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