GQCP
|
#include <CompoundConvergenceCriterion.hpp>
Public Types | |
using | Environment = _Environment |
using | Self = CompoundConvergenceCriterion< Environment > |
![]() | |
using | Environment = _Environment |
Public Member Functions | |
template<typename C1 , typename C2 > | |
CompoundConvergenceCriterion (const C1 &criterion1, const C2 &criterion2) | |
std::string | description () const override |
bool | isFulfilled (Environment &environment) override |
template<typename C > | |
Self | add (const C &criterion) |
size_t | count () const |
![]() | |
virtual | ~ConvergenceCriterion ()=default |
virtual std::string | description () const =0 |
virtual bool | isFulfilled (Environment &environment)=0 |
A criterion that checks convergence by requiring that multiple convergence criteria are fulfilled simultaneously.
_Environment | the type of the environment that this criterion can read from |
using GQCP::CompoundConvergenceCriterion< _Environment >::Environment = _Environment |
using GQCP::CompoundConvergenceCriterion< _Environment >::Self = CompoundConvergenceCriterion<Environment> |
|
inline |
A basic constructor from two criteria that should be fulfilled at the same time.
criterion1 | the first convergence criterion |
criterion2 | the second convergence criterion |
|
inline |
Add another convergence criterion that should be fulfilled in this compound convergence criterion.
criterion | the new convergence criterion |
|
inline |
|
inlineoverridevirtual |
PUBLIC OVERRIDDEN METHODS
Implements GQCP::ConvergenceCriterion< _Environment >.
|
inlineoverridevirtual |
environment | the environment that this criterion can read from |
Implements GQCP::ConvergenceCriterion< _Environment >.