|
| FunctionMorseA (const FPString &id, FitJob *job) |
| Constructor.
|
|
virtual void | parse (XML::Element functionElement) override |
| Parses function parameters from the given XML element.
|
|
virtual XML::OElement | generateXMLDefinition (const FPString &elementName) override |
| Produces an XML representation of the function's current parameters and DOFs.
|
|
| FunctionBase (const FPString &id, FitJob *job, const FPString &tag=FPString()) |
| Constructor.
|
|
bool | hasCutoff () const |
| Returns whether this function has a cutoff.
|
|
double | cutoff () const |
|
void | setCutoff (double cutoff) |
|
double | prefactor () const |
| Returns the constant prefactor the function is multiplied with.
|
|
double | evaluate (double r) |
| Evaluates the function at the given r and multiplies the value with the proper normalization factor.
|
|
double | evaluate (double r, double &deriv) |
| Evaluates the function and its derivative at the given r and multiplies the values with the proper normalization factor.
|
|
void | writeTabulated (std::ostream &out, double rmin, double rmax, double dr) |
| Write tabulated function to stream for visualization with Gnuplot. More...
|
|
NormalizationMode | normalizationMode () const |
| Returns the normalization mode set for this function.
|
|
void | setNormalizationMode (NormalizationMode mode) |
| Specifies the normalization mode to be used for this function.
|
|
void | computePrefactor () |
|
virtual void | dofValueChanged (DegreeOfFreedom &dof) override |
|
const std::shared_ptr< FunctionBase > & | screeningFunction () const |
| Returns the screening function applied to this function, or NULL.
|
|
void | setScreeningFunction (const std::shared_ptr< FunctionBase > &func) |
|
void | verifyDerivative () |
|
void | checkDerivativeNumerically (double r) |
|
double | centralDerivative (double r, double h, double &abserr_trunc, double &abserr_round) |
|
virtual | ~FitObject ()=default |
| Virtual destructor.
|
|
double | relativeWeight () const |
| Returns the relative fit weight assigned to this object.
|
|
void | setRelativeWeight (double weight) |
| Assigns a relative fit weight to this object.
|
|
virtual void | assignAbsoluteWeights (double absoluteWeight) |
| Recursively assigns absolute weights to the properties of this object and its sub-objects.
|
|
virtual bool | computeProperties (bool isFitting) |
| Computes all enabled properties of the object.
|
|
const std::vector< FitProperty * > & | properties () const |
| Returns a list of fitting properties of this object.
|
|
void | listAllProperties (std::vector< FitProperty *> &list) const |
| Builds a list of properties of this object and all its sub-objects.
|
|
FitProperty * | propertyById (const FPString &id) const |
| Returns the property with the given ID.
|
|
const std::vector< DegreeOfFreedom * > & | DOF () const |
| Returns a list of degrees of freedom of this object.
|
|
void | listAllDOF (std::vector< DegreeOfFreedom *> &list) const |
| Builds a list of degrees of freedom of this object and all its sub-objects.
|
|
DegreeOfFreedom * | DOFById (const FPString &id, const FPString &tag=FPString()) const |
| Returns the degree of freedom with the given ID (and tag).
|
|
const std::vector< FitObject * > & | fitObjects () const |
| Returns the list of FitObjects which are part of this group.
|
|
void | registerSubObject (FitObject *subobject, bool deleteOnShutdown=false) |
| Registers a sub-object.
|
|
virtual void | print (MsgLogger &stream) |
| Outputs the name of the object.
|
|
bool | fitEnabled () const |
| Returns whether this object and it's children are included in the fit.
|
|
void | setFitEnabled (bool enable) |
| Sets whether this object and it's children are included in the fit.
|
|
bool | outputEnabled () const |
|
void | setOutputEnabled (bool enable) |
|
const FPString & | id () const |
| Returns the identifier of this object instance.
|
|
void | setId (const FPString &id) |
| Sets the main identification tag.
|
|
const FPString & | tag () const |
| Returns the assigned tag string.
|
|
void | setTag (const FPString &tag) |
| Sets the complementary identification tag.
|
|
FitJob * | job () const |
| Returns a pointer to the job to which this object belongs.
|
|
FitObject * | parent () const |
| Returns the parent of this object in the hierarchy.
|
|
template<typename DifferentialForm > |
double | integrate (double a, double b, DifferentialForm diffForm) |
|
virtual double | integrate (double a, double b) |
|
virtual double | integrateSpherical (double a, double b) |
|