MADNESS 0.10.1
Classes | Functions
testsolver.cc File Reference
#include <iostream>
#include <madness/mra/nonlinsol.h>
#include <cmath>
#include <madness/world/test_utilities.h>
Include dependency graph for testsolver.cc:

Classes

struct  F
 simple class for testing the solver More...
 
struct  function_allocator< T, NDIM >
 

Functions

F allocator ()
 
template<typename T , std::size_t NDIM>
Function< T, NDIMcompute_update (World &world, const Function< T, NDIM > &f)
 
F exact_solution ()
 
double inner (const F &a, const F &b)
 
int main (int argc, char **argv)
 
F residual (const F &f)
 
int test_simple (World &world)
 
template<typename T , std::size_t NDIM>
int test_with_function (World &world)
 
template<typename T , std::size_t NDIM>
int test_with_function_vector (World &world)
 test solver with a vector of functions
 

Function Documentation

◆ allocator()

F allocator ( )

◆ compute_update()

template<typename T , std::size_t NDIM>
Function< T, NDIM > compute_update ( World world,
const Function< T, NDIM > &  f 
)

◆ exact_solution()

F exact_solution ( )

Referenced by test_simple().

◆ inner()

double inner ( const F a,
const F b 
)

References a, and b.

◆ main()

int main ( int  argc,
char **  argv 
)

◆ residual()

F residual ( const F f)

◆ test_simple()

int test_simple ( World world)

◆ test_with_function()

template<typename T , std::size_t NDIM>
int test_with_function ( World world)

◆ test_with_function_vector()

template<typename T , std::size_t NDIM>
int test_with_function_vector ( World world)