Loading [MathJax]/extensions/tex2jax.js
Apps
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
laplace-hpc.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 = 3
 Dimension of the problem.
 
parameterString grid = "grids/laplace_sample_grid_"
 
parameterNumber numRefs = 3
 number of refinements
 
parameterNumber redistElemThreshold = 8
 Number of elements that each target process should receive.
 
parameterNumber redistProcs = 64
 Number of processes to which each process redistributes on a distribution level.
 
parameterBool writeSolution
 If specified, the solution will be written to a file.;.
 

Function Documentation

◆ DirichletValue1d()

function DirichletValue1d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / laplace-hpc.lua :83-85

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 / laplace-hpc.lua :92-95

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 / laplace-hpc.lua :102-105

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)

◆ Source1d()

function Source1d ( ,
y  ,
t   
)

location: /home/runner/work/docs/docs/ug4/apps/Examples / laplace-hpc.lua :78-81

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 / laplace-hpc.lua :87-90

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 / laplace-hpc.lua :97-100

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)

References partitioner, and redistElemThreshold.

Variable Documentation

◆ dim

parameterNumber dim = 3

Dimension of the problem.

◆ grid

parameterString grid = "grids/laplace_sample_grid_"

◆ numRefs

parameterNumber numRefs = 3

number of refinements

◆ redistElemThreshold

parameterNumber redistElemThreshold = 8

Number of elements that each target process should receive.

Referenced by Source3d().

◆ redistProcs

parameterNumber redistProcs = 64

Number of processes to which each process redistributes on a distribution level.

◆ writeSolution

parameterBool writeSolution

If specified, the solution will be written to a file.;.