MADNESS  version 0.9
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DirichletCondIntOp< NDIM > Class Template Reference

The operator needed for solving for $u$ with GMRES. More...

#include <density.h>

Inheritance diagram for DirichletCondIntOp< NDIM >:
Inheritance graph
[legend]
Collaboration diagram for DirichletCondIntOp< NDIM >:
Collaboration graph
[legend]

Public Member Functions

 DirichletCondIntOp (const SeparatedConvolution< double, NDIM > &gin, const Function< double, NDIM > &bin)
 
- Public Member Functions inherited from madness::Operator< Function< double, NDIM > >
Function< double, NDIM > & applyOp (const Function< double, NDIM > &in, Function< double, NDIM > &out) const
 Public access to the operator's action, returns out for convenience. More...
 
virtual ~Operator ()
 

Protected Member Functions

void action (const Function< double, NDIM > &invec, Function< double, NDIM > &outvec) const
 Applies the operator to invec. More...
 

Protected Attributes

const SeparatedConvolution
< double, NDIM > & 
G
 The Green's function. More...
 
const Function< double, NDIM > & b
 The surface function (normalized) More...
 

Detailed Description

template<int NDIM>
class DirichletCondIntOp< NDIM >

The operator needed for solving for $u$ with GMRES.

Constructor & Destructor Documentation

template<int NDIM>
DirichletCondIntOp< NDIM >::DirichletCondIntOp ( const SeparatedConvolution< double, NDIM > &  gin,
const Function< double, NDIM > &  bin 
)
inline

Member Function Documentation

template<int NDIM>
void DirichletCondIntOp< NDIM >::action ( const Function< double, NDIM > &  invec,
Function< double, NDIM > &  outvec 
) const
inlineprotectedvirtual

Applies the operator to invec.

Note
G is actually $-G$.
Parameters
[in]invecThe input vector
[out]outvecThe action of the operator on invec

Implements madness::Operator< Function< double, NDIM > >.

References G, madness::Function< T, NDIM >::scale(), and madness::Function< T, NDIM >::truncate().

Member Data Documentation

template<int NDIM>
const Function<double, NDIM>& DirichletCondIntOp< NDIM >::b
protected

The surface function (normalized)

template<int NDIM>
const SeparatedConvolution<double, NDIM>& DirichletCondIntOp< NDIM >::G
protected

The Green's function.


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