KTH framework for Nek5000 toolboxes; testing version
0.0.1
|
Tool for 3D to 2D grid mapping. More...
Files | |
file | map2D.f |
3D to 2D element mapping routines | |
Functions | |
subroutine | map2d_register () |
Register 2D mapping routines. More... | |
subroutine | map2d_init () |
Initilise map2d module. More... | |
subroutine | map2d_get () |
Get 3D to 2D element mapping. More... | |
subroutine | map2d_get_local (ctrs, cell, ninseg, ind, ifseg, lctrs1, lctrs2, nseg, nelsort, tol) |
Get local 3D=>2D mapping. More... | |
subroutine | map2d_get_global (ctrs, owner, cell, ninseg, ind, ifseg, lctrs1, lctrs2, nseg, tol) |
Get global 3D=>2D mapping. More... | |
subroutine | map2d_init_coord |
Generate 2D mesh out of 3D one. More... | |
Tool for 3D to 2D grid mapping.
3D to 2D mesh mappinfg for 2D-extruded meshes.
subroutine map2d_get |
Get 3D to 2D element mapping.
Definition at line 119 of file map2D.f.
References ifill(), io_file_freeid(), map2d_get_global(), map2d_get_local(), mntr_abort(), mntr_check_abort(), mntr_log(), mntr_logi(), and mntr_tmr_add().
subroutine map2d_get_global | ( | real, dimension(lctrs1,lctrs2) | ctrs, |
integer, dimension(lctrs2) | owner, | ||
integer, dimension(lctrs2) | cell, | ||
integer, dimension(lctrs2) | ninseg, | ||
integer, dimension(lctrs2) | ind, | ||
logical, dimension(lctrs2) | ifseg, | ||
integer | lctrs1, | ||
integer | lctrs2, | ||
integer | nseg, | ||
real | tol | ||
) |
Get global 3D=>2D mapping.
[in,out] | ctrs | 2D element centres |
[in,out] | owner | global element ownership (work array) |
[in,out] | cell | local element numberring (work array) |
[in,out] | ninseg | elements in segmen (work array) |
[in,out] | ind | sorting index (work array) |
[in,out] | ifseg | segment borders (work array) |
[in] | lctrs1,lctrs2 | array sizes |
[in,out] | nseg | segments number |
[in] | tol | tolerance to find segment borders |
Definition at line 406 of file map2D.f.
References copy(), csend(), iswap_ip(), mntr_abort(), mntr_check_abort(), mntr_logi(), msgwait(), and tuple_sort().
subroutine map2d_get_local | ( | real, dimension(lctrs1,lctrs2) | ctrs, |
integer, dimension(lctrs2) | cell, | ||
integer, dimension(lctrs2) | ninseg, | ||
integer, dimension(lctrs2) | ind, | ||
logical, dimension(lctrs2) | ifseg, | ||
integer | lctrs1, | ||
integer | lctrs2, | ||
integer | nseg, | ||
integer | nelsort, | ||
real | tol | ||
) |
Get local 3D=>2D mapping.
[out] | ctrs | 2D element centres |
[out] | cell | local element numberring |
[out] | ninseg | elements in segmen (work array) |
[out] | ind | sorting index (work array) |
[out] | ifseg | segment borders (work array) |
[in] | lctrs1,lctrs2 | array sizes |
[out] | nseg | segments number |
[in] | nelsort | number of local 3D elements to sort |
[in] | tol | tolerance to find segment borders |
Definition at line 309 of file map2D.f.
References iswap_ip(), and tuple_sort().
subroutine map2d_init |
Initilise map2d module.
Definition at line 69 of file map2D.f.
References map2d_get(), map2d_init_coord(), mntr_log(), mntr_tmr_add(), and mntr_warn().
subroutine map2d_init_coord |
Generate 2D mesh out of 3D one.
Definition at line 701 of file map2D.f.
References copy(), ifill(), and io_file_freeid().
subroutine map2d_register |
Register 2D mapping routines.
Definition at line 12 of file map2D.f.
References mntr_abort(), mntr_mod_is_name_reg(), mntr_mod_reg(), mntr_tmr_add(), mntr_tmr_is_name_reg(), mntr_tmr_reg(), and mntr_warn().