1#ifndef PSCF_FIELD_GENERATOR_BASE_H
2#define PSCF_FIELD_GENERATOR_BASE_H
11#include <util/param/ParamComposite.h>
12#include <pscf/sweep/ParameterModifier.h>
46 enum Type {Mask, External, None};
Type type_
Type of field (Mask, External, or None).
virtual void checkCompatibility()=0
Check that the system is compatible with these fields.
Type
Enum representing the type of field (mask, external field, or none).
FieldGeneratorBase()
Constructor.
~FieldGeneratorBase()
Destructor.
void generate()
Checks if fields need to be (re)generated.
virtual void compute()=0
Compute the field(s) and store where the System can access.
bool isDependent() const
Is this object dependent on parameters of another FieldGeneratorBase?
Type type() const
Return Type enumeration value (Mask, External, or None)
virtual bool needsUpdate() const =0
Check whether system has changed such that the field(s) need updating.
bool isDependent_
Is this object dependent on parameters of another FieldGeneratorBase?
ParameterModifier()
Constructor.
ParamComposite()
Constructor.
PSCF package top-level namespace.