1#ifndef PRDC_SYSTEM_CONST_REF_REAL_H
2#define PRDC_SYSTEM_CONST_REF_REAL_H
39 using MixtureT =
typename SystemT::MixtureT;
40 using InteractionT =
typename SystemT::InteractionT;
41 using DomainT =
typename SystemT::DomainT;
42 using CFieldContainerT =
typename SystemT::CFieldContainerT;
43 using WFieldContainerT =
typename SystemT::WFieldContainerT;
44 using MaskT =
typename SystemT::MaskT;
45 using FieldT =
typename SystemT::FieldT;
71 {
return *systemPtr_; }
75 {
return *mixturePtr_; }
79 {
return *interactionPtr_; }
83 {
return *domainPtr_; }
86 CFieldContainerT
const &
c()
const
90 WFieldContainerT
const &
w()
const
94 WFieldContainerT
const &
h()
const
103 {
return *fileMasterPtr_; }
108 SystemT
const * systemPtr_;
111 MixtureT
const * mixturePtr_;
114 InteractionT
const * interactionPtr_;
117 DomainT
const * domainPtr_;
120 CFieldContainerT
const * cPtr_;
123 WFieldContainerT
const * wPtr_;
126 WFieldContainerT
const * hPtr_;
129 MaskT
const * maskPtr_;
SystemConstRefReal(SystemT const &system)
Constructor.
FileMaster const & fileMaster() const
Get the FileMaster.
DomainT const & domain() const
Get the Domain.
SystemT const & system() const
void associate(SystemT const &system)
Create associations with a system and its components.
MaskT const & mask() const
Get the mask.
WFieldContainerT const & w() const
Get the chemical potential (w) field container.
MixtureT const & mixture() const
Get the Mixture.
WFieldContainerT const & h() const
Get the external potential (h) field container.
SystemConstRefReal()
Default constructor.
CFieldContainerT const & c() const
Get the concentration (c) field container.
InteractionT const & interaction() const
Get the Interaction.
~SystemConstRefReal()
Destructor.
A FileMaster manages input and output files for a simulation.
Periodic fields and crystallography.
PSCF package top-level namespace.
Utility classes for scientific computation.