TRIQS/triqs_cthyb 4.0.0
A TRIQS application
Loading...
Searching...
No Matches
triqs_cthyb::triqs_cthyb::configuration

Detailed Description

Configuration of the Monte Carlo simulation (operators on the imaginary-time line).

Definition at line 81 of file impurity_trace.cpp.

Public Member Functions

 C2PY_PROPERTY_GET (beta) double beta() const
 Inverse temperature \( \beta \).
void clear ()
 Clear the configuration (remove all operators).
void erase (time_pt const &t)
 Erase the operator at a given imaginary time.
void finalize ()
 Finalize the configuration after a Monte Carlo move (increment the ID and save the configuration if needed).
long get_id () const
 Get the ID of the current configuration (for debug purposes).
void insert (time_pt tau, op_desc op)
 Insert a given operator at a given imaginary time.
void replace (time_pt tau, op_desc op)
 Replace an existing operator at a given imaginary time with a new one.

Static Public Member Functions

static C2PY_IGNORE configuration h5_read_construct (h5::group g, std::string const &name)
 Read a configuration from an hdf5 file.
static std::string hdf5_format ()
 HDF5 format string for configuration.

Friends

void h5_write (h5::group g, std::string const &name, configuration const &c)
 Write a configuration to an hdf5 file.

Member Function Documentation

◆ erase()

void triqs_cthyb::triqs_cthyb::configuration::erase ( time_pt const & t)
inline

Erase the operator at a given imaginary time.

Parameters
tauImaginary time at which to erase the operator.

Definition at line 123 of file impurity_trace.cpp.

◆ insert()

void triqs_cthyb::triqs_cthyb::configuration::insert ( time_pt tau,
op_desc op )
inline

Insert a given operator at a given imaginary time.

Parameters
tauImaginary time at which to insert the operator.
opDescription of the operator to insert.

Definition at line 109 of file impurity_trace.cpp.

◆ replace()

void triqs_cthyb::triqs_cthyb::configuration::replace ( time_pt tau,
op_desc op )
inline

Replace an existing operator at a given imaginary time with a new one.

Parameters
tauImaginary time at which to replace the operator.
opDescription of the operator to insert.

Definition at line 117 of file impurity_trace.cpp.


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