#include <field.h>
Inheritance diagram for afl::Field:
Public Types | |
typedef Iterator | iterator |
Public Member Functions | |
virtual | ~Field () |
virtual void | interpolation (Interpolator *interpolator) |
virtual void | interpolation (interp_t method)=0 |
virtual void | interpolation (const std::string &function) |
virtual void | boundary (Boundary *boundary) throw (exc::GeometryException) |
virtual void | derivator (Derivator *derivator) |
virtual void | integrator (Integrator *integrator) |
virtual void | addBoundarySegment (const Point &p1, const Point &p2) |
virtual void | addBoundarySegment (const Field *f) |
virtual void | toXML (std::ostream &doc, const std::string &componentsDir, const std::string &baseURI, bool allInline) const |
virtual Value | get (const Point &x) const =0 |
virtual Derivative | jacobian (const Point &x) const =0 |
virtual Point | gradient (const Point &x) const =0 |
virtual data_t | divergence (const Point &x) const =0 |
virtual data_t | laplacian (const Point &x) const =0 |
virtual Point | curl (const Point &x) const |
virtual Value | integral (const Simplex &s) const =0 |
virtual void | set (const Point &x, const Value &value)=0 |
virtual void | set (const Point &x, const Value &value, const Derivative &dvalue)=0 |
virtual iterator | begin () const |
virtual iterator | end () const |
virtual void | erase (const iterator &pt) |
virtual bool | hasDerivative () const |
virtual size_t | size () const |
virtual size_t | getDimension () const =0 |
virtual const Boundary * | getBoundary () const |
virtual Point | getBoundingBoxMin () const =0 |
virtual Point | getBoundingBoxMax () const =0 |
virtual void | resetBoundary () |
virtual const std::string & | getName () const |
virtual const ddf::Geometry * | getValueGeometry () const |
virtual std::string | getValueTypeStr () const |
virtual troolean | locate (const Point &p) const |
virtual Field * | clone () const =0 |
void | setDirichletCondition (const Field *value) |
void | setDirichletCondition (const Value &value) |
bool | hasDirichletCondition () const |
Value | getDirichlet (const Point &p) const |
void | setNeumannCondition (const Field *deriv) |
void | setNeumannCondition (const Value &value) |
bool | hasNeumannCondition () const |
Value | getNeumann (const Point &p) const |
const ddf::PropertySet * | getNumericData () const |
Protected Member Functions | |
Field (const std::string &name, ddf::PropertySet *pset) | |
Protected Attributes | |
ddf::PropertySet * | _pset |
std::string | _name |
Interpolator * | _interpolator |
Boundary * | _boundary |
Derivator * | _derivator |
Integrator * | _integrator |
const Field * | _dirichlet |
const Field * | _neumann |
|
Internal types: |
|
constructs a blank field
|
|
destroys the object |
|
adds a segment of boundary to the field. The segment is defined by a field of one dimension lower than the field itself and the value type of the field is a vector with as many dimensions as the field. If the new segment is completely inside another segment it becomes a "hole" or an "island" in that segment depending on the existing segment's type. If the parametric field is not closed it will be closed with a straight hyper-plane
Reimplemented in afl::CompositeField, and afl::Field_1. |
|
adds a hypercube segment of boundary to the field. The cube is defined by two opposite points in space. If the new segment is completely inside another segment it becomes a "hole" or an "island" in that segment depending on the type of the existing segment.
Reimplemented in afl::CompositeField. |
|
|
|
sets the boundary for the field
|
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
Reimplemented in afl::CompositeField, and afl::Field_3. |
|
sets the derivator for the field, deletes the old one if it exists
|
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
|
|
removes a point of know data from the set if one exists at that point
|
|
evaluates the field at a point
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
|
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
|
|
Reimplemented in afl::CompositeField. |
|
|
|
|
|
@return the ddf geometry of the values stored in this field Reimplemented in afl::CompositeField. |
|
|
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
|
|
indicates whether a Dirichlet boundary condition was set or not
|
|
indicates whether a Neumann boundary condition was set or not
|
|
provides the integral of the field over a simplex. It is possible to take any integral over multiple simplexes. In the future there may be a function that uses BSP trees to take the integral over multiple simplices at ones at much better than linear rate.
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
sets the integrator for the field (replaces an old one if it exsts)
|
|
creates a new basis function interpolator from a function
Reimplemented in afl::CompositeField. |
|
sets the interpolation method to use in the field
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
sets the interpolation method to use in the field
Reimplemented in afl::CompositeField. |
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
|
|
resets the boundary to an infinite boundary again. Boundary conditions are not changed but the boundary can now be redefined from scratch |
|
adds a new data point to the field. The interpolation has to guarantee that field would go through this point. If a point is exists in the field, this point would overwrite it.
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
adds a new data point to the field. The interpolation has to guarantee that field would go through this point. If a point is exists in the field, this point would overwrite it.
Implemented in afl::CompositeField, afl::Field_1, afl::Field_2, afl::Field_3, and afl::Field_4. |
|
sets the value expression of a scalar field's boundary
|
|
sets the value of the field at the boundary
|
|
sets the Neumann boundary condition for the field
|
|
sets the derivative of the boundary field on the boundary
|
|
|
|
represents the field as an FRL document
Reimplemented in afl::CompositeField. |
|
the boundary of this field |
|
the derivator assigned to this field |
|
a Dirichlet boundary condition |
|
the integrator assigned to this field |
|
the interpolator assigned to query this field |
|
the name of the field Reimplemented in afl::CompositeField. |
|
a Neumann boundary condition |
|
Compositions: |