#include <volume.h>
Inheritance diagram for sc::Volume:
Public Member Functions | |
Volume (const Ref< KeyVal > &) | |
void | set_gradient (const SCVector3 &g) |
void | set_gradient (RefSCVector &g) |
void | get_gradient (SCVector3 &g) |
void | set_x (const SCVector3 &x) |
void | set_x (const RefSCVector &x) |
Set and retrieve the coordinate values. | |
void | get_x (SCVector3 &x) |
virtual void | boundingbox (double valuemin, double valuemax, SCVector3 &p1, SCVector3 &p2)=0 |
virtual void | interpolate (const SCVector3 &p1, const SCVector3 &p2, double value, SCVector3 &result) |
virtual void | solve (const SCVector3 &p, const SCVector3 &grad, double value, SCVector3 &result) |
Protected Member Functions | |
double & | interpolation_accuracy () |
virtual void | compute ()=0 |
Recompute at least the results that have compute true and are not already computed. | |
virtual void | failure (const char *) |
virtual void sc::Volume::compute | ( | ) | [protected, pure virtual] |
Recompute at least the results that have compute true and are not already computed.
This should only be called by Result's members.
Implements sc::Compute.
Implemented in sc::ElectronDensity, sc::BatchElectronDensity, and sc::Shape.