This is the first function from http://eqworld.ipmnet.ru/en/solutions/npde/npde1201.pdf. More...
Go to the source code of this file.
Functions | |
function res = | exact_function_plaplace (glob, params) |
This is the first function from http://eqworld.ipmnet.ru/en/solutions/npde/npde1201.pdf. More... | |
This is the first function from http://eqworld.ipmnet.ru/en/solutions/npde/npde1201.pdf.
Definition in file exact_function_plaplace.m.
function res = exact_function_plaplace | ( | glob, | |
params | |||
) |
This is the first function from http://eqworld.ipmnet.ru/en/solutions/npde/npde1201.pdf.
This implements the function
\[ u(x,y,t) = \left( -\frac{\lambda p}{m} x - \frac{\lambda^2}{m} t + A \right)^{\frac{1}{p}} \]
solving the PDE
\[ \partial_t u = - \partial_x \left( u^p \partial_x u \right) \]
where [x,y]
is given by glob
, and the function parameters are read from params
. We use this function for an EOC test of our newton_model().
glob | global coordinate vectors |
params | parameter specifying the function |
res | res |
t —
time instance at which the spatial solution is computedplaplace_A —
scalar specifying constant \(A\) (Default = 1.0) plaplace_lambda —
scalar specifying constant \(\lambda\) (Default = 0.8) diff_p —
scalar specifying the exponent constant p
(Default = 0.5) diff_m —
scalar specifying the constant m
(Default = 1.0) Definition at line 17 of file exact_function_plaplace.m.