1#ifndef RP_SYSTEM_CONST_REF_H
2#define RP_SYSTEM_CONST_REF_H
11#include <pscf/backend/TmplDeclare.h>
20 template <
int D,
class T>
class System;
21 template <
int D,
class T>
class Mixture;
22 template <
int D,
class T>
class Domain;
23 template <
int D,
class T>
class CFields;
24 template <
int D,
class T>
class WFields;
25 template <
int D,
class T>
class Mask;
45 template <
int D,
class T>
55 {
return *systemPtr_; }
61 {
return *mixturePtr_; }
67 {
return *interactionPtr_; }
73 {
return *domainPtr_; }
103 {
return *fileMasterPtr_; }
166 PSCF_TMPL_DECLARE(SystemConstRef)
Interaction model for complex Langevin FTS.
A list of c fields stored in both basis and r-grid format.
Spatial domain for a periodic structure with real fields.
A field that specifies an inhomogeneous total monomer concentration.
Solver and descriptor for a mixture of polymers and solvents.
Base class template for const access to an associated System.
FileMaster const & fileMaster() const
Get the FileMaster.
System< D, T > const & system() const
Get the associated System.
Mask< D, T > const & mask() const
Get the mask (if any).
void associate(System< D, T > const &system)
Create associations with a system and its components.
CFields< D, T > const & c() const
Get the concentration (c) field container.
WFields< D, T > const & h() const
Get the external potential (h) field container (if any).
Mixture< D, T > const & mixture() const
Get the Mixture.
SystemConstRef()
Default constructor.
Interaction const & interaction() const
Get the Interaction.
WFields< D, T > const & w() const
Get the chemical potential (w) field container.
Domain< D, T > const & domain() const
Get the Domain.
Base class template for classes that represent a complete system.
A container of w fields stored in both basis and r-grid format.
A FileMaster manages input and output files for a simulation.
Code for programs that simulate real-valued periodic fields.
PSCF package top-level namespace.
Utility classes for scientific computation.