#include <compositefield.h>
Inheritance diagram for afl::CompositeField:
Public Member Functions | |
CompositeField (const std::string &name, std::vector< std::string > &functions, std::vector< const Field * > fs, size_t columns=1) | |
virtual | ~CompositeField () |
virtual void | interpolation (Interpolator *interpolator) |
virtual void | interpolation (interp_t method) |
virtual void | interpolation (const std::string &function) |
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 |
virtual Derivative | jacobian (const Point &x) const |
virtual Point | gradient (const Point &x) const |
virtual data_t | divergence (const Point &x) const |
virtual data_t | laplacian (const Point &x) const |
virtual Point | curl (const Point &x) const |
virtual void | set (const Point &x, const Value &value) |
virtual void | set (const Point &x, const Value &value, const Derivative &dvalue) |
virtual size_t | getDimension () const |
virtual const std::string & | getName () const |
virtual const ddf::Geometry * | getValueGeometry () const |
virtual Point | getBoundingBoxMin () const |
virtual Point | getBoundingBoxMax () const |
virtual Field * | clone () const |
virtual Value | integral (const Simplex &s) const |
virtual const Field * | find (const std::string &name) const |
Protected Attributes | |
std::string | _name |
FnValue | _fn |
std::map< std::string, const Field * > | _components |
|
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 from afl::Field. |
|
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 from afl::Field. |
|
Implements afl::Field. |
|
Approximates the field derivative at a point.
Reimplemented from afl::Field. |
|
Approximates the field derivative at a point.
Implements afl::Field. |
|
|
|
Evaluates the field at a point.
Implements afl::Field. |
|
Implements afl::Field. |
|
Implements afl::Field. |
|
Implements afl::Field. |
|
Reimplemented from afl::Field. |
|
@return the ddf geometry of the values stored in this field Reimplemented from afl::Field. |
|
Approximates the field derivative at a point.
Implements afl::Field. |
|
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.
Implements afl::Field. |
|
Reimplemented from afl::Field. |
|
Implements afl::Field. |
|
Reimplemented from afl::Field. |
|
Approximates the field derivative at a point.
Implements afl::Field. |
|
Approximates the field derivative at a point.
Implements afl::Field. |
|
throws an exception
Implements afl::Field. |
|
throws an exception
Implements afl::Field. |
|
represents the field as an FRL document
Reimplemented from afl::Field. |
|
a map from the component fields' names to the the fields |
|
the composition functions |
|
the composite field's name Reimplemented from afl::Field. |