1#ifndef PSCF_CORRELATION_MIXTURE_H
2#define PSCF_CORRELATION_MIXTURE_H
11#include <pscf/correlation/Polymer.h>
12#include <util/containers/DArray.h>
29 template <
typename WT>
144 template <
typename WT>
inline
152 template <
typename WT>
inline
154 {
return *mixturePtr_; }
157 template <
typename WT>
inline
159 {
return polymers_.isAllocated(); }
Descriptor for a mixture of polymer and solvent species.
Correlations in a homogeneous ideal gas mixture.
void allocate()
Allocate private data structures, set immutable private data.
void setup()
Set mutable private data.
bool isAllocated() const
Has this Mixture been previously allocated?
void associate(Composition< WT > const &mixture)
Create an association with a Mixture.
Mixture()
Default constructor.
void computeOmegaTotal(Array< double > const &kSq, Array< double > &correlations) const
Compute total ideal gas density correlation functions.
void computeOmega(int ma, int mb, Array< double > const &kSq, Array< double > &correlations) const
Compute ideal gas correlation functions for a monomer type pair.
Correlation::Polymer< WT > const & polymer(int i) const
Return reference to a polymer species descriptor.
Composition< WT > const & mixture() const
Return reference to a descriptor for the associated mixture.
Intramolecular correlation analysis for one polymer Species.
Array container class template.
Dynamically allocatable contiguous array template.
#define UTIL_CHECK(condition)
Assertion macro suitable for serial or parallel production code.
Intramolecular correlations in homogeneous systems.
PSCF package top-level namespace.