MADNESS 0.10.1
Classes | Public Member Functions | Public Attributes | List of all members
madness::CISResults Class Reference

#include <Results.h>

Inheritance diagram for madness::CISResults:
Inheritance graph
[legend]
Collaboration diagram for madness::CISResults:
Collaboration graph
[legend]

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
 
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_infoexcitations
 
std::string model ="unknown"
 
long nfreeze =-1
 

Constructor & Destructor Documentation

◆ CISResults() [1/3]

madness::CISResults::CISResults ( )
default

◆ CISResults() [2/3]

madness::CISResults::CISResults ( const nlohmann::json &  j)
inline

◆ CISResults() [3/3]

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

constructor with nfreeze and model

Member Function Documentation

◆ 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(), and to_json().

◆ model

std::string madness::CISResults::model ="unknown"

◆ nfreeze

long madness::CISResults::nfreeze =-1

Referenced by CISResults(), and to_json().


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