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>
142 template <
typename WT>
inline
150 template <
typename WT>
inline
152 {
return *mixturePtr_; }
155 template <
typename WT>
inline
157 {
return polymers_.isAllocated(); }
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?
Mixture()
Default constructor.
void associate(MixtureBase< WT > const &mixture)
Create an association with a Mixture.
void computeOmegaTotal(Array< double > const &kSq, Array< double > &correlations) const
Compute total ideal gas density correlation functions.
MixtureBase< WT > const & mixture() const
Return reference to a descriptor for the associated mixture.
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.
Intramolecular correlation analysis for one polymer Species.
Abstract descriptor for a mixture of polymer and solvent 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.