Core 1.0
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.
 
virtual double Divergence (const Vector &) const
 Compute the divergence of the field.
 
virtual Vector Curl (const Vector &) const
 Compute the curl of the field.
 

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.