Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Integrator_UpdateP Class Reference

Integrator of conjugate momenta for given link variables. More...

#include <integrator_UpdateP.h>

Inheritance diagram for Integrator_UpdateP:
Integrator

Public Member Functions

 Integrator_UpdateP (const std::vector< Action * > &action)
 constructor when no director is necessary More...
 
 ~Integrator_UpdateP ()
 destructor More...
 
void set_parameters (const Parameters &params)
 
void set_parameters ()
 
void evolve (const double step_size, Field_G &iP, Field_G &U)
 
void invalidate_cache ()
 
bool is_cache_valid () const
 
void cache_validated ()
 
- Public Member Functions inherited from Integrator
 Integrator ()
 
virtual ~Integrator ()
 
virtual void set_parameter_Nstep (const int Nstep)
 
virtual void set_parameter_Nsteps (const std::vector< int > &Nsteps)
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Integrator_UpdateP"
 

Private Attributes

std::vector< Action * > m_action
 
Field_G m_workfield
 
Field_G m_force
 
bool m_cache_valid
 

Additional Inherited Members

- Protected Attributes inherited from Integrator
Bridge::VerboseLevel m_vl
 

Detailed Description

Integrator of conjugate momenta for given link variables.

This class updates conjugate momenta by force terms provided by action classes. it contains a list of actions that belong to a level of nested integrators. The value of force is cached in order to re-use it for the next half-step in multi-level integrator. cache should be invalidated when the link variable is updated through the call of invalidate_cache() method.

[2015/04/17 T.Aoyama]

Definition at line 37 of file integrator_UpdateP.h.

Constructor & Destructor Documentation

Integrator_UpdateP::Integrator_UpdateP ( const std::vector< Action * > &  action)
inline

constructor when no director is necessary

Definition at line 56 of file integrator_UpdateP.h.

Integrator_UpdateP::~Integrator_UpdateP ( )
inline

destructor

Definition at line 64 of file integrator_UpdateP.h.

Member Function Documentation

void Integrator_UpdateP::cache_validated ( )
inline

Definition at line 75 of file integrator_UpdateP.h.

void Integrator_UpdateP::evolve ( const double  step_size,
Field_G iP,
Field_G U 
)
virtual

Implements Integrator.

Definition at line 36 of file integrator_UpdateP.cpp.

void Integrator_UpdateP::invalidate_cache ( )
inlinevirtual

Implements Integrator.

Definition at line 72 of file integrator_UpdateP.h.

bool Integrator_UpdateP::is_cache_valid ( ) const
inline

Definition at line 74 of file integrator_UpdateP.h.

void Integrator_UpdateP::set_parameters ( const Parameters params)
virtual

Implements Integrator.

Definition at line 19 of file integrator_UpdateP.cpp.

void Integrator_UpdateP::set_parameters ( )

Member Data Documentation

const std::string Integrator_UpdateP::class_name = "Integrator_UpdateP"
static

Definition at line 40 of file integrator_UpdateP.h.

std::vector<Action *> Integrator_UpdateP::m_action
private

Definition at line 43 of file integrator_UpdateP.h.

bool Integrator_UpdateP::m_cache_valid
private

Definition at line 51 of file integrator_UpdateP.h.

Field_G Integrator_UpdateP::m_force
private

Definition at line 49 of file integrator_UpdateP.h.

Field_G Integrator_UpdateP::m_workfield
private

Definition at line 46 of file integrator_UpdateP.h.


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