Amandus: Simulations based on multilevel Schwarz methods
Public Member Functions | Private Attributes | List of all members
Darcy::Checkerboard::ConstrainedNewton< VECTOR > Class Template Reference

#include <constrained_newton.h>

Inheritance diagram for Darcy::Checkerboard::ConstrainedNewton< VECTOR >:
Inheritance graph
[legend]
Collaboration diagram for Darcy::Checkerboard::ConstrainedNewton< VECTOR >:
Collaboration graph
[legend]

Public Member Functions

 ConstrainedNewton (OperatorBase &residual, OperatorBase &inverse_derivative)
 
virtual void operator() (AnyData &out, const AnyData &in)
 
bool constraint_violation (const VECTOR &u)
 

Private Attributes

SmartPointer< OperatorBase, Newton< VECTOR > > residual
 
SmartPointer< OperatorBase, Newton< VECTOR > > inverse_derivative
 
const unsigned int n_stepsize_iterations
 

Detailed Description

template<class VECTOR>
class Darcy::Checkerboard::ConstrainedNewton< VECTOR >

This class is just a helper class to calculate the parameters for the exact solution of Darcy's problem with a checkerboard diffusion pattern. It is not intended for use in applications and might be replaced by a more specialized implementation for this task in the future.

Constructor & Destructor Documentation

template<class VECTOR >
Darcy::Checkerboard::ConstrainedNewton< VECTOR >::ConstrainedNewton ( OperatorBase &  residual,
OperatorBase &  inverse_derivative 
)

Member Function Documentation

template<class VECTOR >
bool Darcy::Checkerboard::ConstrainedNewton< VECTOR >::constraint_violation ( const VECTOR &  u)
template<class VECTOR >
void Darcy::Checkerboard::ConstrainedNewton< VECTOR >::operator() ( AnyData &  out,
const AnyData &  in 
)
virtual

Here is the call graph for this function:

Member Data Documentation

template<class VECTOR>
SmartPointer<OperatorBase, Newton<VECTOR> > Darcy::Checkerboard::ConstrainedNewton< VECTOR >::inverse_derivative
private
template<class VECTOR>
const unsigned int Darcy::Checkerboard::ConstrainedNewton< VECTOR >::n_stepsize_iterations
private
template<class VECTOR>
SmartPointer<OperatorBase, Newton<VECTOR> > Darcy::Checkerboard::ConstrainedNewton< VECTOR >::residual
private

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