KTH framework for Nek5000 toolboxes; testing version
0.0.1
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | q_filter (wght) |
subroutine | filterq (v, f, nx, nz, w1, w2, ft, if3d, dmax) |
subroutine | outmatx (a, m, n, io, name) |
subroutine | mappr (pm1, pm2, pa, pb) |
function | facint_a (a, area, f, e) |
function | facint_v (a, area, f, e) |
function | facint (a, b, area, ifc, ie) |
function | facint2 (a, b, c, area, ifc, ie) |
subroutine | out_csrmats (acsr, ia, ja, n, name9) |
subroutine | local_grad3 (ur, us, ut, u, N, e, D, Dt) |
subroutine | local_grad2 (ur, us, u, N, e, D, Dt) |
subroutine | gradm1 (ux, uy, uz, u) |
subroutine | comp_vort3 (vort, work1, work2, u, v, w) |
subroutine | surface_int (sint, sarea, a, e, f) |
subroutine | surface_flux (dq, qx, qy, qz, e, f, w) |
subroutine | gaujordf (a, m, n, indr, indc, ipiv, ierr, rmult) |
subroutine | legendre_poly (L, x, N) |
subroutine | build_new_filter (intv, zpts, nx, kut, wght, nio) |
subroutine | avg_all |
subroutine | avg1 (avg, f, alpha, beta, n, name, ifverbose) |
subroutine | avg2 (avg, f, alpha, beta, n, name, ifverbose) |
subroutine | avg3 (avg, f, g, alpha, beta, n, name, ifverbose) |
subroutine | build_legend_transform (Lj, Ljt, zpts, nx) |
subroutine | local_err_est (err, u, nx, Lj, Ljt, uh, w, if3d) |
subroutine | get_exyz (ex, ey, ez, eg, nelx, nely, nelz) |
subroutine | dump_header2d (excode, nx, ny, nlx, nly, ierr) |
subroutine | outfld2d_p (u, v, w, nx, ny, nlx, nly, name, ifld, jid, npido, ir) |
subroutine | outfld2d (u, v, w, nx, ny, nlx, nly, name, ifld) |
subroutine | drgtrq (dgtq, xm0, ym0, zm0, sij, pm1, visc, f, e) |
subroutine | torque_calc (scale, x0, ifdout, iftout) |
subroutine | comp_sij (sij, nij, u, v, w, ur, us, ut, vr, vs, vt, wr, ws, wt) |
subroutine | auto_averager (fname127) |
subroutine | outmesh |
subroutine | out_el (xt, e) |
subroutine | get_el (xt, x, y, z) |
subroutine | shear_calc_max (strsmx, scale, x0, ifdout, iftout) |
subroutine | get_strsmax (strsmax, xm0, ym0, zm0, sij, pm1, visc, f, e) |
subroutine | fix_geom |
subroutine | gh_face_extend (x, zg, n, gh_type, e, v) |
subroutine | gh_face_extend_2d (x, zg, n, gh_type, e, v) |
subroutine | gh_face_extend_3d (x, zg, n, gh_type, e, v) |
real function | ran1 (idum) |
subroutine | rand_fld_h1 (x) |
subroutine | rescale_x (x, x0, x1) |
subroutine | build_filter (f, diag, nx) |
subroutine | g_filter (u, diag, ifld) |
subroutine | cut_off_filter (u, mx, ifld) |
subroutine | filter_d2 (v, nx, nz, wgt, ifd4) |
function | dist3d (a, b, c, x, y, z) |
function | dist2d (a, b, x, y) |
subroutine | domain_size (xmin, xmax, ymin, ymax, zmin, zmax) |
subroutine | cheap_dist (d, ifld, b) |
subroutine | distf (d, ifld, b, dmin, emin, xn, yn, zn) |
subroutine | turb_outflow (d, m1, rq, uin) |
subroutine | add_temp (f2tbc, nbc, npass) |
subroutine | add_temp_1 (f2tbc, nbc) |
subroutine | planar_avg (ua, u, hndl) |
subroutine add_temp | ( | character*3, dimension(2,nbc) | f2tbc, |
nbc, | |||
npass | |||
) |
Definition at line 3329 of file navier5.f.
References add_temp_1(), and setup_topo().
subroutine add_temp_1 | ( | character*3, dimension(2,nbc) | f2tbc, |
nbc | |||
) |
subroutine auto_averager | ( | character*127 | fname127 | ) |
subroutine avg1 | ( | real, dimension(n) | avg, |
real, dimension(n) | f, | ||
alpha, | |||
beta, | |||
n, | |||
character*4 | name, | ||
logical | ifverbose | ||
) |
subroutine avg2 | ( | real, dimension(n) | avg, |
real, dimension(n) | f, | ||
alpha, | |||
beta, | |||
n, | |||
character*4 | name, | ||
logical | ifverbose | ||
) |
subroutine avg3 | ( | real, dimension(n) | avg, |
real, dimension(n) | f, | ||
real, dimension(n) | g, | ||
alpha, | |||
beta, | |||
n, | |||
character*4 | name, | ||
logical | ifverbose | ||
) |
subroutine avg_all |
subroutine build_filter | ( | real, dimension(nx,nx) | f, |
real, dimension(nx) | diag, | ||
nx | |||
) |
Definition at line 2719 of file navier5.f.
References copy(), exitti(), gaujordf(), legendre_poly(), mxm(), transpose(), and zwgll().
subroutine build_legend_transform | ( | real, dimension(nx*nx) | Lj, |
real, dimension(nx*nx) | Ljt, | ||
real, dimension(nx) | zpts, | ||
nx | |||
) |
Definition at line 1087 of file navier5.f.
References exitt(), gaujordf(), legendre_poly(), transpose(), and transpose1().
subroutine build_new_filter | ( | real, dimension(nx,nx) | intv, |
real, dimension(nx) | zpts, | ||
nx, | |||
kut, | |||
wght, | |||
nio | |||
) |
Definition at line 800 of file navier5.f.
References copy(), exitt(), gaujordf(), ident(), legendre_poly(), mxm(), and transpose().
subroutine comp_sij | ( | real, dimension(lx1*ly1*lz1,nij,lelv) | sij, |
nij, | |||
real, dimension (lx1*ly1*lz1,lelv) | u, | ||
real, dimension (lx1*ly1*lz1,lelv) | v, | ||
real, dimension (lx1*ly1*lz1,lelv) | w, | ||
real, dimension (1) | ur, | ||
real, dimension (1) | us, | ||
real, dimension (1) | ut, | ||
real, dimension (1) | vr, | ||
real, dimension (1) | vs, | ||
real, dimension (1) | vt, | ||
real, dimension (1) | wr, | ||
real, dimension (1) | ws, | ||
real, dimension (1) | wt | ||
) |
Definition at line 1823 of file navier5.f.
References local_grad2(), local_grad3(), and setaxdy().
subroutine comp_vort3 | ( | real, dimension(lt,3) | vort, |
real, dimension(1) | work1, | ||
real, dimension(1) | work2, | ||
real, dimension(1) | u, | ||
real, dimension(1) | v, | ||
real, dimension(1) | w | ||
) |
Definition at line 512 of file navier5.f.
References col2(), dssum(), local_grad2(), and local_grad3().
subroutine cut_off_filter | ( | real, dimension(1) | u, |
mx, | |||
ifld | |||
) |
Definition at line 2800 of file navier5.f.
References build_filter(), filterq(), and rone().
function dist2d | ( | a, | |
b, | |||
x, | |||
y | |||
) |
function dist3d | ( | a, | |
b, | |||
c, | |||
x, | |||
y, | |||
z | |||
) |
subroutine domain_size | ( | xmin, | |
xmax, | |||
ymin, | |||
ymax, | |||
zmin, | |||
zmax | |||
) |
subroutine drgtrq | ( | real, dimension(3,4) | dgtq, |
real, dimension (lx1,ly1,lz1,lelt) | xm0, | ||
real, dimension (lx1,ly1,lz1,lelt) | ym0, | ||
real, dimension (lx1,ly1,lz1,lelt) | zm0, | ||
real, dimension (lx1,ly1,lz1,3*ldim-3,lelv) | sij, | ||
real, dimension (lx1,ly1,lz1,lelv) | pm1, | ||
real, dimension(lx1,ly1,lz1,lelv) | visc, | ||
integer | f, | ||
integer | e | ||
) |
subroutine dump_header2d | ( | character*2, dimension(15) | excode, |
nx, | |||
ny, | |||
nlx, | |||
nly, | |||
ierr | |||
) |
Definition at line 1264 of file navier5.f.
References byte_write.
subroutine filter_d2 | ( | real, dimension(lt,nelt) | v, |
nx, | |||
nz, | |||
wgt, | |||
logical | ifd4 | ||
) |
Definition at line 2828 of file navier5.f.
References dsavg(), glamax(), local_grad2(), local_grad2_t(), local_grad3(), and local_grad3_t().
subroutine filterq | ( | real, dimension(nx*nx*nz,nelt) | v, |
real, dimension(nx,nx) | f, | ||
nx, | |||
nz, | |||
real, dimension(1) | w1, | ||
real, dimension(1) | w2, | ||
real, dimension(nx,nx) | ft, | ||
logical | if3d, | ||
dmax | |||
) |
subroutine fix_geom |
subroutine g_filter | ( | real, dimension(1) | u, |
real, dimension(1) | diag, | ||
ifld | |||
) |
Definition at line 2777 of file navier5.f.
References build_filter(), and filterq().
subroutine gaujordf | ( | real, dimension(m,n) | a, |
m, | |||
n, | |||
integer, dimension(m) | indr, | ||
integer, dimension(n) | indc, | ||
integer, dimension(n) | ipiv, | ||
ierr, | |||
real, dimension(m) | rmult | ||
) |
subroutine get_exyz | ( | integer | ex, |
integer | ey, | ||
integer | ez, | ||
integer | eg, | ||
nelx, | |||
nely, | |||
nelz | |||
) |
subroutine get_strsmax | ( | strsmax, | |
real, dimension (lx1,ly1,lz1,lelt) | xm0, | ||
real, dimension (lx1,ly1,lz1,lelt) | ym0, | ||
real, dimension (lx1,ly1,lz1,lelt) | zm0, | ||
real, dimension (lx1,ly1,lz1,3*ldim-3,lelv) | sij, | ||
real, dimension (lx1,ly1,lz1,lelv) | pm1, | ||
real, dimension(lx1,ly1,lz1,lelv) | visc, | ||
integer | f, | ||
integer | e | ||
) |
subroutine gh_face_extend | ( | real, dimension(1) | x, |
real, dimension(1) | zg, | ||
n, | |||
integer | gh_type, | ||
real, dimension(1) | e, | ||
real, dimension(1) | v | ||
) |
Definition at line 2421 of file navier5.f.
References gh_face_extend_2d(), and gh_face_extend_3d().
subroutine gh_face_extend_2d | ( | real, dimension(n,n) | x, |
real, dimension(n) | zg, | ||
n, | |||
integer | gh_type, | ||
real, dimension(n,n) | e, | ||
real, dimension(n,n) | v | ||
) |
subroutine gh_face_extend_3d | ( | real, dimension(n,n,n) | x, |
real, dimension(n) | zg, | ||
n, | |||
integer | gh_type, | ||
real, dimension(n,n,n) | e, | ||
real, dimension(n,n,n) | v | ||
) |
subroutine gradm1 | ( | real, dimension(lxyz,1) | ux, |
real, dimension(lxyz,1) | uy, | ||
real, dimension(lxyz,1) | uz, | ||
real, dimension(lxyz,1) | u | ||
) |
Definition at line 462 of file navier5.f.
References local_grad2(), local_grad3(), and setaxdy().
subroutine legendre_poly | ( | real, dimension(0:n) | L, |
x, | |||
N | |||
) |
subroutine local_err_est | ( | real, dimension(5,2) | err, |
real, dimension(1) | u, | ||
nx, | |||
real, dimension(1) | Lj, | ||
real, dimension(1) | Ljt, | ||
real, dimension(nx,nx,nx) | uh, | ||
real, dimension(1) | w, | ||
logical | if3d | ||
) |
subroutine local_grad2 | ( | real, dimension(0:n,0:n) | ur, |
real, dimension(0:n,0:n) | us, | ||
real, dimension (0:n,0:n,1) | u, | ||
N, | |||
integer | e, | ||
real, dimension (0:n,0:n) | D, | ||
real, dimension(0:n,0:n) | Dt | ||
) |
subroutine local_grad3 | ( | real, dimension(0:n,0:n,0:n) | ur, |
real, dimension(0:n,0:n,0:n) | us, | ||
real, dimension(0:n,0:n,0:n) | ut, | ||
real, dimension (0:n,0:n,0:n,1) | u, | ||
N, | |||
integer | e, | ||
real, dimension (0:n,0:n) | D, | ||
real, dimension(0:n,0:n) | Dt | ||
) |
subroutine out_csrmats | ( | real, dimension(1) | acsr, |
integer, dimension(1) | ia, | ||
integer, dimension(1) | ja, | ||
n, | |||
character*9 | name9 | ||
) |
subroutine out_el | ( | real, dimension(2**ldim,ldim) | xt, |
integer | e | ||
) |
subroutine outfld2d | ( | real, dimension(nx*ny*nlx*nly) | u, |
real, dimension(nx*ny*nlx*nly) | v, | ||
real, dimension(nx*ny*nlx*nly) | w, | ||
nx, | |||
ny, | |||
nlx, | |||
nly, | |||
character*3 | name, | ||
ifld | |||
) |
Definition at line 1421 of file navier5.f.
References blank(), dump_header2d(), and err_chk().
subroutine outfld2d_p | ( | real, dimension(nx*ny*nlx*nly) | u, |
real, dimension(nx*ny*nlx*nly) | v, | ||
real, dimension(nx*ny*nlx*nly) | w, | ||
nx, | |||
ny, | |||
nlx, | |||
nly, | |||
character*4 | name, | ||
ifld, | |||
jid, | |||
npido, | |||
ir | |||
) |
Definition at line 1340 of file navier5.f.
References blank(), and dump_header2d().
subroutine outmatx | ( | real, dimension(m*n) | a, |
m, | |||
n, | |||
io, | |||
character*4 | name | ||
) |
subroutine outmesh |
subroutine planar_avg | ( | real, dimension(*) | ua, |
real, dimension (*) | u, | ||
hndl | |||
) |
subroutine q_filter | ( | wght | ) |
real function ran1 | ( | integer | idum | ) |
subroutine rand_fld_h1 | ( | real, dimension(1) | x | ) |
subroutine rescale_x | ( | real, dimension(1) | x, |
x0, | |||
x1 | |||
) |
subroutine shear_calc_max | ( | real, dimension(maxobj) | strsmx, |
scale, | |||
real, dimension(3) | x0, | ||
logical | ifdout, | ||
logical | iftout | ||
) |
subroutine torque_calc | ( | scale, | |
real, dimension(3) | x0, | ||
logical | ifdout, | ||
logical | iftout | ||
) |