MADNESS 0.10.1
madness::CISResults Class Reference

#include <Results.h>

Inheritance diagram for madness::CISResults:
Collaboration diagram for madness::CISResults:

Classes

struct  excitation_info

Public Member Functions

 CISResults ()=default
 CISResults (const nlohmann::json &j)
 construct from JSON
 CISResults (long nfreeze, const std::string &model)
 constructor with nfreeze and model
void from_json (const nlohmann::json &j) override
std::string key () const override
nlohmann::json to_json () const override
 serialize the results to a JSON object
Public Member Functions inherited from madness::ResultsBase
 ResultsBase ()=default
virtual ~ResultsBase ()=default

Public Attributes

std::vector< excitation_info > excitations
std::string model = "unknown"
long nfreeze = -1

Constructor & Destructor Documentation

◆ CISResults() [1/3]

madness::CISResults::CISResults ( )
default

◆ CISResults() [2/3]

◆ CISResults() [3/3]

madness::CISResults::CISResults ( long nfreeze,
const std::string & model )
inline

constructor with nfreeze and model

References model, and nfreeze.

Member Function Documentation

◆ from_json()

◆ key()

std::string madness::CISResults::key ( ) const
inlineoverridevirtual

Implements madness::ResultsBase.

References model.

◆ to_json()

nlohmann::json madness::CISResults::to_json ( ) const
inlineoverridevirtual

serialize the results to a JSON object

Implements madness::ResultsBase.

References excitations, model, and nfreeze.

Referenced by madness::CC2Results::to_json().

Member Data Documentation

◆ excitations

std::vector<excitation_info> madness::CISResults::excitations

Referenced by CISResults(), from_json(), and to_json().

◆ model

◆ nfreeze

long madness::CISResults::nfreeze = -1

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