Loading [MathJax]/extensions/tex2jax.js
Apps
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
poisson.lua File Reference

Functions

function DirichletValue1d (x, y, t)
 
function DirichletValue2d (x, y, t)
 
function DirichletValue3d (x, y, z, t)
 
function Source1d (x, y, t)
 
function Source2d (x, y, t)
 
function Source3d (x, y, z, t)
 

Variables

parameterNumber dim = 2
 Dimension of the problem.
 
parameterString grid = "grids/laplace_sample_grid_"
 
parameterNumber numRefs = 3
 number of refinements
 

Function Documentation

◆ DirichletValue1d()

function DirichletValue1d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / poisson.lua :63-65

function DirichletValue1d(x, y, t)
return true, math.sin(2*math.pi*x)
function y
Definition channel.lua:79
function t
Definition channel.lua:79
function *Umax *y end
Definition channel.lua:87
function DirichletValue1d(x, y, t)

◆ DirichletValue2d()

function DirichletValue2d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / poisson.lua :72-75

function DirichletValue2d(x, y, t)
local s = 2*math.pi
return true, math.sin(s*x) + math.sin(s*y)
parameterString s
function DirichletValue2d(x, y, t)

◆ DirichletValue3d()

function DirichletValue3d ( ,
y  ,
,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / poisson.lua :82-85

function DirichletValue3d(x, y, z, t)
local s = 2*math.pi
return true, math.sin(s*x) + math.sin(s*y) + math.sin(s*z)
function DirichletValue3d(x, y, z, t)

References smoother, and type.

◆ Source1d()

function Source1d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / poisson.lua :58-61

function Source1d(x, y, t)
local s = 2*math.pi
return s*s*math.sin(s*x)
function Source1d(x, y, t)

References for().

◆ Source2d()

function Source2d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / poisson.lua :67-70

function Source2d(x, y, t)
local s = 2*math.pi
return s*s*(math.sin(s*x) + math.sin(s*y))
function Source2d(x, y, t)

◆ Source3d()

function Source3d ( ,
y  ,
,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / poisson.lua :77-80

function Source3d(x, y, z, t)
local s = 2*math.pi
return s*s*(math.sin(s*x) + math.sin(s*y) + math.sin(s*z))
function Source3d(x, y, z, t)

Variable Documentation

◆ dim

parameterNumber dim = 2

Dimension of the problem.

◆ grid

parameterString grid = "grids/laplace_sample_grid_"

◆ numRefs

parameterNumber numRefs = 3

number of refinements