1#ifndef RPC_EXT_GEN_FILM_H
2#define RPC_EXT_GEN_FILM_H
11#include <rpc/system/System.h>
12#include <prdc/environment/FilmFieldGenExtBase.h>
72 double stress(
int paramId)
const;
126 double interfaceThickness_;
151 {
return system().domain().groupName(); }
156 {
return system().domain().unitCell().rBasis(
id); }
161 {
return system().mixture().nMonomer(); }
163 #ifndef RPC_EXT_GEN_FILM_TPP
DArray< double > chiTopCurrent_
The chiTop array used to generate the current external fields.
DArray< double > const & chiTop() const
Get const chiTop array by reference.
DArray< double > chiBottomCurrent_
The chiBottom array used to generate the current external fields.
double excludedThickness() const
Get value of excludedThickness.
DArray< double > const & chiBottom() const
Get const chiBottom matrix by reference.
bool isAthermal() const
Are the walls athermal?
double interfaceThickness() const
Get value of interfaceThickness.
RealVec< D > normalVecCurrent_
The lattice vector normal to the film used to generate these fields.
int normalVecId() const
Get value of normalVecId.
FilmFieldGenExtBase()
Constructor.
A RealVec<D, T> is D-component vector with elements of floating type T.
Field Generator for external fields in thin-film systems.
double stress(int paramId) const
Get contribution to the stress from the external fields.
System< D > & system()
Get the parent System by non-const reference.
void compute()
Compute the fields and store where the System can access.
int systemNMonomer() const
Get the number of monomer species for this system.
FilmFieldGenExt()
Default constructor.
std::string systemSpaceGroup() const
Get the space group name for this system.
RealVec< D > systemLatticeVector(int id) const
Get one of the lattice vectors for this system.
~FilmFieldGenExt()
Destructor.
Main class, representing one complete system.
void setClassName(const char *className)
Set class name string.
#define UTIL_CHECK(condition)
Assertion macro suitable for serial or parallel production code.
Periodic fields and crystallography.
Real periodic fields, SCFT and PS-FTS (CPU).
PSCF package top-level namespace.