13#include <pscf/solvers/MixtureTmpl.h>
14#include <pscf/inter/Interaction.h>
15#include <util/containers/DArray.h>
103 void setKuhn(
int monomerId,
double kuhn);
151 Domain const * domainPtr_;
154 Domain const & domain()
const;
163 inline Domain const & Mixture::domain()
const
A mixture of polymer and solvent species.
Polymer & polymer(int id)
Monomer const & monomer(int id) const
Solvent & solvent(int id)
One-dimensional spatial domain and discretization grid.
Mixture of polymers and solvents.
void setKuhn(int monomerId, double kuhn)
Reset statistical segment length for one monomer type.
Propagator::WField WField
Monomer chemical potential field type.
void readParameters(std::istream &in)
Read all parameters and initialize.
void compute(DArray< WField > const &wFields, DArray< CField > &cFields)
Compute concentrations.
Propagator::CField CField
Monomer concentration or volume fraction field type.
void setDomain(Domain const &domain)
Create an association with the domain and allocate memory.
ScalarParam< Type > & read(std::istream &in, const char *label, Type &value)
Add and read a new required ScalarParam < Type > object.
void setClassName(const char *className)
Set class name string.
ScalarParam< Type > & readOptional(std::istream &in, const char *label, Type &value)
Add and read a new optional ScalarParam < Type > object.
#define UTIL_ASSERT(condition)
Assertion macro suitable for debugging serial or parallel code.
PSCF package top-level namespace.