Alamo
Public Member Functions | Static Public Member Functions | Private Attributes
Model::Interface::GB::Read Class Reference
Inheritance diagram for Model::Interface::GB::Read:
[legend]
Collaboration diagram for Model::Interface::GB::Read:
[legend]

Public Member Functions

 Read ()
 
 Read (IO::ParmParse &pp)
 
 Read (IO::ParmParse &pp, std::string name)
 
 Read (std::string filename)
 
void Define (std::string filename)
 
Set::Scalar W (const Set::Scalar theta) const
 
Set::Scalar DW (const Set::Scalar theta) const
 
Set::Scalar DDW (const Set::Scalar theta) const
 
- Public Member Functions inherited from Model::Interface::GB::GB
 GB ()
 
virtual ~GB ()
 
virtual Set::Scalar W (const Set::Vector &a_n) const
 
virtual Set::Scalar DW (const Set::Vector &, const Set::Vector &) const
 
virtual Set::Scalar DDW (const Set::Vector &, const Set::Vector &) const
 
void ExportToFile (std::string filename, amrex::Real dTheta)
 
std::tuple< Set::Scalar, Set::ScalarDrivingForce (const Set::Vector &Deta, const Set::Matrix &DDeta, const Set::Matrix4< AMREX_SPACEDIM, Set::Sym::Full > &DDDDeta)
 

Static Public Member Functions

static void Parse (Read &value, IO::ParmParse &pp)
 

Private Attributes

Numeric::Interpolator::Linear< Set::Scalarm_w
 
Numeric::Interpolator::Linear< Set::Scalarm_dw
 
Numeric::Interpolator::Linear< Set::Scalarm_ddw
 

Additional Inherited Members

- Public Types inherited from Model::Interface::GB::GB
enum  Regularization { Wilhelm, K23 }
 
- Protected Attributes inherited from Model::Interface::GB::GB
Regularization regularization = Regularization::Wilhelm
 
- Static Protected Attributes inherited from Model::Interface::GB::GB
static constexpr amrex::Real pi = 3.14159265359
 

Detailed Description

Reads the data from a file and computes energies and its derivates

Definition at line 23 of file Read.H.

Constructor & Destructor Documentation

◆ Read() [1/4]

Model::Interface::GB::Read::Read ( )
inline

Read in data.

Reads the data from a file and abort if it is not possible to open the file or if the range of thetas do not give a range between 0 and 2pi. It also computes the derivatives of the energy and stores them in vectors that will be used in W, DW, and DDW

\[ \int_0^1x^2dx = \frac{1}{3} \]

Definition at line 32 of file Read.H.

◆ Read() [2/4]

Model::Interface::GB::Read::Read ( IO::ParmParse pp)
inline

Definition at line 33 of file Read.H.

◆ Read() [3/4]

Model::Interface::GB::Read::Read ( IO::ParmParse pp,
std::string  name 
)
inline

Definition at line 34 of file Read.H.

◆ Read() [4/4]

Model::Interface::GB::Read::Read ( std::string  filename)
inline

Definition at line 35 of file Read.H.

Here is the call graph for this function:

Member Function Documentation

◆ DDW()

Set::Scalar Model::Interface::GB::Read::DDW ( const Set::Scalar  theta) const
inlinevirtual

Implements Model::Interface::GB::GB.

Definition at line 82 of file Read.H.

◆ Define()

void Model::Interface::GB::Read::Define ( std::string  filename)
inline

Definition at line 40 of file Read.H.

Here is the call graph for this function:

◆ DW()

Set::Scalar Model::Interface::GB::Read::DW ( const Set::Scalar  theta) const
inlinevirtual

Implements Model::Interface::GB::GB.

Definition at line 78 of file Read.H.

◆ Parse()

static void Model::Interface::GB::Read::Parse ( Read value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 91 of file Read.H.

Here is the call graph for this function:

◆ W()

Set::Scalar Model::Interface::GB::Read::W ( const Set::Scalar  theta) const
inlinevirtual

Implements Model::Interface::GB::GB.

Definition at line 74 of file Read.H.

Field Documentation

◆ m_ddw

Numeric::Interpolator::Linear<Set::Scalar> Model::Interface::GB::Read::m_ddw
private

Definition at line 88 of file Read.H.

◆ m_dw

Numeric::Interpolator::Linear<Set::Scalar> Model::Interface::GB::Read::m_dw
private

Definition at line 88 of file Read.H.

◆ m_w

Numeric::Interpolator::Linear<Set::Scalar> Model::Interface::GB::Read::m_w
private

Definition at line 85 of file Read.H.


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