Core 1.0
Public Member Functions | Static Protected Attributes | List of all members
AnalyticVectorField Class Reference

A core analytic three-dimensional vector field. More...

#include <vectorfield.h>

Public Member Functions

virtual Vector Value (const Vector &) const
 Compute the value of the field. More...
 
virtual double Divergence (const Vector &) const
 Compute the divergence of the field. More...
 
virtual Vector Curl (const Vector &) const
 Compute the curl of the field. More...
 

Static Protected Attributes

static const double epsilon = 1e-6
 Epsilon value for partial derivatives.
 

Detailed Description

A core analytic three-dimensional vector field.

Member Function Documentation

◆ Curl()

Vector AnalyticVectorField::Curl ( const Vector p) const
virtual

Compute the curl of the field.

Parameters
pPoint.

◆ Divergence()

double AnalyticVectorField::Divergence ( const Vector p) const
virtual

Compute the divergence of the field.

Parameters
pPoint.

◆ Value()

Vector AnalyticVectorField::Value ( const Vector p) const
virtual

Compute the value of the field.

Parameters
pPoint.