PSCF v1.3
FieldGenerator.h
1#ifndef PRDC_FIELD_GENERATOR_H
2#define PRDC_FIELD_GENERATOR_H
3
4/*
5* PSCF - Polymer Self-Consistent Field
6*
7* Copyright 2015 - 2025, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11#include <pscf/environment/FieldGeneratorBase.h> // base class
12
13namespace Pscf {
14namespace Prdc {
15
16 using namespace Util;
17
36 {
37
38 public:
39
44
49
70 virtual double stress(int paramId) const;
71
97 virtual double modifyStress(int paramId, double stress) const;
98
99 };
100
101} // namespace Prdc
102} // namespace Pscf
103#endif
virtual double modifyStress(int paramId, double stress) const
Modify stress to minimize a property other than fHelmholtz.
virtual double stress(int paramId) const
Get contribution to the stress from this imposed field.
Periodic fields and crystallography.
Definition CField.cpp:11
PSCF package top-level namespace.
Definition param_pc.dox:1