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
 
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::optional< Tensor< double > > dipole
 
double energy = 0.0
 
std::optional< Tensor< double > > gradient
 
std::optional< RamanResultsraman
 
std::optional< VibrationalResultsvibrations
 

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, gradient, and madness::nonlinear_vector_solver().

Member Function Documentation

◆ from_json()

void madness::PropertyResults::from_json ( const nlohmann::json &  j)
inlineoverridevirtual

◆ key()

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

Implements madness::ResultsBase.

◆ to_json()

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

Member Data Documentation

◆ dipole

std::optional<Tensor<double> > madness::PropertyResults::dipole

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

◆ energy

double madness::PropertyResults::energy = 0.0

◆ gradient

std::optional<Tensor<double> > madness::PropertyResults::gradient

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

◆ raman

std::optional<RamanResults> madness::PropertyResults::raman

◆ vibrations

std::optional<VibrationalResults> madness::PropertyResults::vibrations

Referenced by from_json(), and to_json().


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