MADNESS 0.10.1
Classes | Enumerations
test_problems.h File Reference

Provides test problems for examining the convergence of embedded (Dirichlet) boundary conditions. More...

#include <madness/mra/mra.h>
#include <madness/mra/lbdeux.h>
#include <madness/mra/sdf_shape_3D.h>
#include <string>
Include dependency graph for test_problems.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ConstantSphere
 The constant on a sphere problem. More...
 
class  CosineSphere
 The cos(theta) on a sphere problem. More...
 
class  DirichletCondIntOp
 The operator needed for solving for $u$ with GMRES. More...
 
struct  DirichletLBCost< NDIM >
 
class  EmbeddedDirichlet
 Abstract base class for embedded Dirichlet problems. More...
 
class  InhomoConstantSphere
 The constant on a sphere problem, with inhomogeneity. More...
 
class  Y20Sphere
 The Y_2^0 on a sphere problem. More...
 

Enumerations

enum  FunctorOutput { SURFACE , DIRICHLET_RHS , EXACT , DOMAIN_MASK }
 
enum  Mask { LLRV , Gaussian }
 

Detailed Description

Provides test problems for examining the convergence of embedded (Dirichlet) boundary conditions.

The auxiliary PDE being solved is

\[ \nabla^2 u - p(\varepsilon) S (u-g) = \varphi f, \]

where

The available test problems are

  1. A sphere of radius $R$ with $g = Y_0^0$, homogeneous (ConstantSphere)
  2. A sphere of radius $R$ with $g = Y_1^0$, homogeneous (CosineSphere)
  3. A sphere of radius $R$ with $g = Y_2^0$, homogeneous (Y20Sphere)
  4. A sphere of radius $R$ with $g = Y_0^0$, inhomogeneous $ f = 1 $ (InhomoConstantSphere)

This file sets up the various details of the problems... the main program is found in embedded_dirichlet.cc.

Enumeration Type Documentation

◆ FunctorOutput

Enumerator
SURFACE 
DIRICHLET_RHS 
EXACT 
DOMAIN_MASK 

◆ Mask

enum Mask
Enumerator
LLRV 
Gaussian