bvp::neumann_op Class Reference

#include <diff_op.hpp>

Inheritance diagram for bvp::neumann_op:

Inheritance graph
[legend]
Collaboration diagram for bvp::neumann_op:

Collaboration graph
[legend]

List of all members.

Public Member Functions

double at (const realfunc &f, const point &p, const vector &n) const

Private Member Functions

double at (const realfunc &f, const point &p) const


Member Function Documentation

double bvp::neumann_op::at ( const realfunc f,
const point &  p,
const vector n 
) const [virtual]

Implements bvp::bdry_diff_op.

00045                                               {
00046     size_t dim = n.size();
00047     vector grad(dim);
00048     for(size_t i = 1; i <= dim; i++)
00049       grad(i) =f.d(p,i);
00050     return grad*n/norm(n);
00051   }

Here is the call graph for this function:

double bvp::neumann_op::at ( const realfunc f,
const point &  p 
) const [inline, private, virtual]

Implements bvp::bdry_diff_op.

00088 {return f(p);};


The documentation for this class was generated from the following files:

Generated on Fri Jun 6 17:28:26 2008 by  doxygen 1.5.6