|
MADNESS
version 0.9
|
Provides test problems for examining the convergence of embedded (Dirichlet) boundary conditions. More...
#include <madness/mra/mra.h>#include <madness/tensor/gmres.h>#include <madness/muParser/muParser.h>#include "test_problems.h"
Functions | |
| int | main (int argc, char **argv) |
Provides test problems for examining the convergence of embedded (Dirichlet) boundary conditions.
The auxiliary PDE being solved is
where
is the solution function
is the thickness of the boundary layer
is the penalty prefactor,
seems to work well.
is the surface function
is the Dirichlet condition to be enforced on the surface
is the domain mask (1 inside, 0 outside, blurry on the border)
is the inhomogeneity.The available test problems are
with
, homogeneous (ConstantSphere)
with
, homogeneous (CosineSphere)
with
, homogeneous (Y20Sphere)
with
, inhomogeneous
(InhomoConstantSphere)This program allows testing of various parameters,
for their effect on convergence of the solution.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
References madness::LoadBalanceDeux< NDIM >::add_tree(), madness::Vector< T, N >::begin(), madness::WorldGopInterface::broadcast(), madness::Function< T, NDIM >::clear(), SafeMPI::COMM_WORLD, madness::copy(), mu::ParserBase::DefineVar(), DIRICHLET_RHS, DOMAIN_MASK, madness::error(), mu::ParserBase::Eval(), mpfr::fabs(), madness::finalize(), G, mu::ParserError::GetMsg(), madness::GMRES(), madness::World::gop, madness::initialize(), k, madness::LoadBalanceDeux< NDIM >::load_balance(), maxiter, madness::Function< T, NDIM >::norm2(), madness::World::rank(), madness::FunctionDefaults< NDIM >::redistribute(), madness::tr1::shptr::shared_ptr< T >::reset(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_thresh(), madness::FunctionDefaults< NDIM >::set_truncate_on_project(), mu::ParserBase::SetExpr(), madness::startup(), SURFACE, thresh, madness::Function< T, NDIM >::trace(), and uexact().
1.8.8