HILA
Loading...
Searching...
No Matches
gauge_momentum_action< gauge_field > Class Template Reference

#include <gauge_field.h>

Inheritance diagram for gauge_momentum_action< gauge_field >:
Collaboration diagram for gauge_momentum_action< gauge_field >:

Public Types

using gauge_field_type = gauge_field
 The underlying gauge field type.
 
using gauge_mat = typename gauge_field::gauge_type
 The gauge matrix type.
 
using momtype = SquareMatrix< N, Complex< hila::arithmetic_type< gauge_mat > > >
 The type of the momentum field.
 

Public Member Functions

double action ()
 The gauge action.
 
void backup_fields ()
 Make a copy of fields updated in a trajectory.
 
void draw_gaussian_fields ()
 Gaussian random momentum for each element.
 
virtual void force_step (double eps)
 
virtual void force_step (double eps)
 Update the momentum with the gauge field.
 
 gauge_momentum_action (gauge_field &g)
 construct from a gauge field
 
 gauge_momentum_action (gauge_momentum_action &ga)
 construct a copy
 
void restore_backup ()
 Restore the previous backup.
 
void step (double eps)
 Update the gauge field with momentum.
 

Public Attributes

gauge_fieldgauge
 A reference to the gauge field.
 

Static Public Attributes

static constexpr int N = gauge_mat::size
 The size of the gauge matrix.
 

Detailed Description

template<typename gauge_field>
class gauge_momentum_action< gauge_field >

The action of the canonical momentum of a gauge field. Momentum actions are a special case. It does not contain a force_step()-function. It contains a step()-function, which updates the momentum itself. It can be used as the lowest level of an integrator.

Definition at line 397 of file gauge_field.h.

Member Function Documentation

◆ force_step()

virtual void action_base::force_step ( double  eps)
inlinevirtualinherited

◆ step()

template<typename gauge_field >
void gauge_momentum_action< gauge_field >::step ( double  eps)
inlinevirtual

Update the gauge field with momentum.

A momentum action is also the lowest level of an integrator hierarchy and needs to define the an step to update the gauge field using the momentum

Reimplemented from integrator_base.

Definition at line 441 of file gauge_field.h.


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