1#ifndef CPC_INTERACTION_H
2#define CPC_INTERACTION_H
11#include <util/param/ParamComposite.h>
12#include <util/containers/Matrix.h>
96 double chi(
int i,
int j)
const;
127 bool isCompressible_;
143 {
return nMonomer_; }
155 {
return chi_(i, j); }
167 {
return isCompressible_; }
Interaction(bool isCompressible=false)
Constructor.
virtual void readParameters(std::istream &in)
Read model parameters.
DMatrix< double > const & chi() const
Return the chi matrix by const reference.
void setChi(int i, int j, double chi)
Change one element of the chi matrix.
void setNMonomer(int nMonomer)
Set the number of monomer types.
double zeta() const
Return the dimensionless compression modulus.
virtual ~Interaction()
Destructor.
int nMonomer() const
Get number of monomer types.
bool isCompressible() const
Is the system compressible?
Dynamically allocated Matrix.
ParamComposite()
Constructor.
PSCF package top-level namespace.