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

#include <Results.h>

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

Public Member Functions

 PropertyResults ()=default
 
 PropertyResults (const nlohmann::json &j)
 construct from JSON
 
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

Tensor< double > dipole
 
double energy = 0.0
 
Tensor< double > gradient
 

Constructor & Destructor Documentation

◆ PropertyResults() [1/2]

madness::PropertyResults::PropertyResults ( )
default

◆ PropertyResults() [2/2]

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

construct from JSON

References dipole, energy, and gradient.

Member Function Documentation

◆ key()

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

Implements madness::ResultsBase.

◆ to_json()

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

serialize the results to a JSON object

Implements madness::ResultsBase.

References dipole, energy, and gradient.

Referenced by madness::Nemo::analyze(), madness::SCFResults::to_json(), and madness::CC2Results::to_json().

Member Data Documentation

◆ dipole

Tensor<double> madness::PropertyResults::dipole

◆ energy

double madness::PropertyResults::energy = 0.0

◆ gradient

Tensor<double> madness::PropertyResults::gradient

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