TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::mesh::tail_fitter_handle

#include <triqs/mesh/tail_fitter.hpp>

Detailed Description

Shared handle for tail fitting.

It simply stores a std::shared_ptr to a triqs::mesh::tail_fitter object.

Definition at line 520 of file tail_fitter.hpp.

Inheritance diagram for triqs::mesh::tail_fitter_handle:
triqs::mesh::imfreq triqs::mesh::refreq

Public Member Functions

tail_fitterget_tail_fitter () const
 Get the triqs::mesh::tail_fitter object.
tail_fitterget_tail_fitter (double tail_fraction, int n_tail_max=tail_fitter::default_n_tail_max, std::optional< int > expansion_order={}) const
 Construct a new triqs::mesh::tail_fitter object with the given parameters and return it.
void set_tail_fit_parameters (double tail_fraction, int n_tail_max=tail_fitter::default_n_tail_max, std::optional< int > expansion_order={}) const
 Set the pointer to a new tail-fitter object constructed with the given parameters.

Member Function Documentation

◆ get_tail_fitter() [1/2]

tail_fitter & triqs::mesh::tail_fitter_handle::get_tail_fitter ( ) const
inline

Get the triqs::mesh::tail_fitter object.

If the tail fitter object has not been created yet, it will be constructed with the default parameters, i.e. tail_fitter::default_tail_fraction and tail_fitter::default_n_tail_max.

Returns
Tail fitter object.

Definition at line 543 of file tail_fitter.hpp.

◆ get_tail_fitter() [2/2]

tail_fitter & triqs::mesh::tail_fitter_handle::get_tail_fitter ( double tail_fraction,
int n_tail_max = tail_fitter::default_n_tail_max,
std::optional< int > expansion_order = {} ) const
inline

Construct a new triqs::mesh::tail_fitter object with the given parameters and return it.

Parameters
tail_fractionFraction of the mesh to consider in the tail fit ( \( 0 < r \leq 1 \)).
n_tail_maxMaximum number of points to use in the tail fit ( \( p_\text{max} > 0 \)).
expansion_orderOptional expansion order \( q \leq q_{\text{max}} = 9 \). If not set, it will be adjusted automatically.
Returns
Tail fitter object.

Definition at line 557 of file tail_fitter.hpp.

◆ set_tail_fit_parameters()

void triqs::mesh::tail_fitter_handle::set_tail_fit_parameters ( double tail_fraction,
int n_tail_max = tail_fitter::default_n_tail_max,
std::optional< int > expansion_order = {} ) const
inline

Set the pointer to a new tail-fitter object constructed with the given parameters.

Parameters
tail_fractionFraction of the mesh to consider in the tail fit ( \( 0 < r \leq 1 \)).
n_tail_maxMaximum number of points to use in the tail fit ( \( p_\text{max} > 0 \)).
expansion_orderOptional expansion order \( q \leq q_{\text{max}} = 9 \). If not set, it will be adjusted automatically.

Definition at line 530 of file tail_fitter.hpp.


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