1#ifndef FD1D_SYSTEM_ACCESS_H
2#define FD1D_SYSTEM_ACCESS_H
197 return systemPtr_->
domain();
206 return systemPtr_->
domain();
263 return systemPtr_->
wField(
id);
282 return systemPtr_->
cField(
id);
One-dimensional spatial domain and discretization grid.
Mixture of polymers and solvents.
Concise accesss to an associated System.
System::CField & cField(int monomerId)
Get chemical potential field for a specific monomer type.
DArray< System::CField > & cFields()
Get array of all chemical potential fields.
System::WField & wField(int monomerId)
Get chemical potential field for a specific monomer type.
~SystemAccess()
Destructor.
const Interaction & interaction() const
Get interaction (i.e., excess free energy model) by reference.
const Domain & domain() const
Get spatial domain (including grid info) by reference.
const System & system() const
Get parent System by reference.
const Mixture & mixture() const
Get Mixture by reference.
virtual void setSystem(System &system)
Set the system after construction.
FileMaster & fileMaster()
Get FileMaster by reference.
DArray< System::WField > & wFields()
Get array of all chemical potential fields.
const Homogeneous::Mixture & homogeneous() const
Get homogeneous mixture (for reference calculations).
SystemAccess()
Default constructor.
Main class in SCFT simulation of one system.
WField & wField(int monomerId)
Get chemical potential field for a specific monomer type.
DArray< WField > & wFields()
Get array of all chemical potential fields.
Homogeneous::Mixture & homogeneous()
Get homogeneous mixture (for reference calculations).
Domain & domain()
Get spatial domain (including grid info) by reference.
Mixture & mixture()
Get Mixture by reference.
DArray< CField > & cFields()
Get array of all chemical potential fields.
Interaction & interaction()
Get interaction (i.e., excess free energy) by reference.
CField & cField(int monomerId)
Get chemical potential field for a specific monomer type.
FileMaster & fileMaster()
Get FileMaster by reference.
A spatially homogeneous mixture.
Flory-Huggins excess free energy model.
Dynamically allocatable contiguous array template.
A FileMaster manages input and output files for a simulation.
#define UTIL_ASSERT(condition)
Assertion macro suitable for debugging serial or parallel code.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.