rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
Functions
rbf_elliptic.m File Reference

function for meshless collocation of fem-problem. step can be used to choose several cases. step=1 does not need to be called directly but is used by the other steps. So call step=2, 3 and change options there. More...

Go to the source code of this file.

Functions

function res = rbf_elliptic (step, params)
 function for meshless collocation of fem-problem. step can be used to choose several cases. step=1 does not need to be called directly but is used by the other steps. So call step=2, 3 and change options there.
 
function res = rbfelliptic>grad_phi_vec_aux (x, kernel_derivative, n, X)
 

Detailed Description

function for meshless collocation of fem-problem. step can be used to choose several cases. step=1 does not need to be called directly but is used by the other steps. So call step=2, 3 and change options there.

Definition in file rbf_elliptic.m.

Function Documentation

function res = rbf_elliptic (   step,
  params 
)

function for meshless collocation of fem-problem. step can be used to choose several cases. step=1 does not need to be called directly but is used by the other steps. So call step=2, 3 and change options there.

step 1: single solve. params.gamma can be set, params.colpoints_choice can be set to 1(random) or 2(structured). params.model_choice = 1 (poisson) or 2 (singular elliptic) If params.no_plots is set, then no plots and no screen output are performed. Output fields are res.u_h and the l2-error res.err and condition number res.cond

working example for poisson

working example for difficult ellipic model

determine errors and matrix conditions over a range of gammas and plot of error by repeated calls of step 1. Finds optimal gamma

Parameters
stepstep
paramsparams
Return values
resres
Required fields of params:
  • no_plots —  no plots
  • gamma —  gamma
  • colpoints_choice —  colpoints choice
  • model_choice —  model choice
  • refinements —  refinements
Generated fields of res:
  • u_h —  u h
  • err —  err
  • cond —  cond
  • gammas —  gammas
  • errs —  errs
  • conds —  conds
  • gamma_opt —  gamma opt

Definition at line 17 of file rbf_elliptic.m.