1#ifndef RP_EXT_GEN_FILM_C_H
2#define RP_EXT_GEN_FILM_C_H
11#include <rp/environment/FilmFieldGenExtBase.h>
12#include <pscf/backend/cpp/CPT.h>
13#include <rp/system/System.h>
19 template <
int D,
class T>
class System;
86 double stress(
int paramId)
const;
140 double interfaceThickness_;
147 template <
int D>
inline
156 template <
int D>
inline
Backend identifier class for the C++ serial CPU backend.
A RealVec<D, T> is D-component vector with elements of floating type T.
int normalVecId() const
Get value of normalVecId.
double excludedThickness() const
Get value of excludedThickness.
bool isAthermal() const
Are the walls athermal?
RealVec< D > normalVecCurrent_
The lattice vector normal to the film used to generate these fields.
DArray< double > chiBottomCurrent_
The chiBottom array used to generate the current external fields.
double interfaceThickness() const
Get value of interfaceThickness.
DArray< double > const & chiBottom() const
Get const chiBottom matrix by reference.
FilmFieldGenExtBase()
Constructor.
DArray< double > chiTopCurrent_
The chiTop array used to generate the current external fields.
DArray< double > const & chiTop() const
Get const chiTop array by reference.
int systemNMonomer() const
Get the number of monomer species for this system.
RealVec< D > systemLatticeVector(int id) const
Get one of the lattice vectors for this system.
void compute()
Compute the fields and store where the System can access.
System< D, CPT > & system()
Get the parent System by non-const reference.
double stress(int paramId) const
Get contribution to the stress from the external fields.
std::string systemSpaceGroup() const
Get the space group name for this system.
FilmFieldGenExt()
Default constructor.
Base class template for classes that represent a complete system.
void setClassName(const char *className)
Set class name string.
#define UTIL_CHECK(condition)
Assertion macro suitable for serial or parallel production code.
Code for programs that simulate real-valued periodic fields.
PSCF package top-level namespace.