character, |
parameter | :: |
nl | = | C_NEW_LINE | |
character(len=solSpecLen), |
parameter | :: |
sysConf | = | 'function vel_fun(x,y,z,t)'//nl//' return {x,y,z}'//nl//'end'//nl//'function dens_fun(x,y,z,t)'//nl//' return x'//nl//'end'//nl//'shape = {'//nl//' kind = "canoND",'//nl//' object = {'//nl//' origin = {0.0,0.0,0.0},'//nl//' vec = {0.0,1.0,0.0},'//nl//' segments = 2'//nl//' }'//nl//'}'//nl//'variable = {'//nl//' {'//nl//' name = "density",'//nl//' ncomponents = 1,'//nl//' vartype = "st_fun",'//nl//' st_fun = dens_fun'//nl//' },'//nl//' {'//nl//' name = "density_shape",'//nl//' ncomponents = 1,'//nl//' vartype = "st_fun",'//nl//' st_fun = {'//nl//' fun = dens_fun,'//nl//' shape = shape'//nl//' }'//nl//' },'//nl//' {'//nl//' name = "density_multi_stfun",'//nl//' ncomponents = 1,'//nl//' vartype = "st_fun",'//nl//' st_fun = {'//nl//' {'//nl//' fun = dens_fun,'//nl//' shape = shape'//nl//' },'//nl//' 10.0'//nl//' }'//nl//' },'//nl//' {'//nl//' name = "velocity",'//nl//' ncomponents = 3,'//nl//' vartype = "st_fun",'//nl//' st_fun = vel_fun'//nl//' },'//nl//' {'//nl//' name = "velocity_shape",'//nl//' ncomponents = 3,'//nl//' vartype = "st_fun",'//nl//' st_fun = {'//nl//' const={1.0,2.0,3.0},'//nl//' shape=shape'//nl//' }'//nl//' },'//nl//' {'//nl//' name = "velocity_multi_stfun",'//nl//' ncomponents = 3,'//nl//' vartype = "st_fun",'//nl//' st_fun = {'//nl//' { 1.0, 2.0, 3.0 },'//nl//' {'//nl//' fun = vel_fun,'//nl//' shape = shape'//nl//' }'//nl//' }'//nl//' }'//nl//'}'//nl//'track_variable = {'//nl//' "density",'//nl//' "density_shape",'//nl//' "density_multi_stfun",'//nl//' "velocity_shape",'//nl//' "velocity_multi_stfun",'//nl//' "velocity"'//nl//'}'//nl | |
logical, |
parameter | :: |
dumpRes | = | .true. | |
integer, |
parameter | :: |
nElems_track | = | 5 | |
integer, |
parameter, dimension(nElems_track) | :: |
elemPos | = | (/1, 3, 5, 7, 8/) | |
real(kind=rk), |
parameter, dimension(nElems_track) | :: |
dens | = | (/0.25_rk, 0.25_rk, 0.25_rk, 0.25_rk, 0.75_rk/) | |
real(kind=rk), |
parameter, dimension(nElems_track) | :: |
dens_shape | = | (/0.25_rk, 0.25_rk, 0.0_rk, 0.0_rk, 0.0_rk/) | |
real(kind=rk), |
parameter, dimension(nElems_track) | :: |
dens_multi_stfun | = | (/10.25_rk, 10.25_rk, 10.0_rk, 10.0_rk, 10.0_rk/) | |
real(kind=rk), |
parameter, dimension(nElems_track,3) | :: |
vel | = | reshape((/0.25_rk, 0.25_rk, 0.25_rk, 0.25_rk, 0.75_rk, 0.25_rk, 0.75_rk, 0.25_rk, 0.75_rk, 0.75_rk, 0.25_rk, 0.25_rk, 0.75_rk, 0.75_rk, 0.75_rk/), (/nElems_track, 3/)) | |
real(kind=rk), |
parameter, dimension(nElems_track,3) | :: |
vel_shape | = | reshape((/1.0_rk, 1.0_rk, 0.0_rk, 0.0_rk, 0.0_rk, 2.0_rk, 2.0_rk, 0.0_rk, 0.0_rk, 0.0_rk, 3.0_rk, 3.0_rk, 0.0_rk, 0.0_rk, 0.0_rk/), (/nElems_track, 3/)) | |
real(kind=rk), |
parameter, dimension(nElems_track,3) | :: |
vel_multi_stfun | = | reshape((/1.25_rk, 1.25_rk, 1.0_rk, 1.0_rk, 1.0_rk, 2.25_rk, 2.75_rk, 2.0_rk, 2.0_rk, 2.0_rk, 3.25_rk, 3.25_rk, 3.0_rk, 3.0_rk, 3.0_rk/), (/nElems_track, 3/)) | |
type(tem_varSys_type) |
| :: |
varSys | | | |
type(tem_st_fun_linkedList_type) |
| :: |
st_funList | | | |
type(solver_type), |
target | :: |
solver | | | |
type(tracking_type) |
| :: |
tracking | | | |
type(tem_variable_type), |
allocatable | :: |
newVar(:) | | | |
integer |
| :: |
addedPos | | | |
integer |
| :: |
iElem | | | |
integer |
| :: |
iVar | | | |
real(kind=rk), |
allocatable | :: |
res(:) | | | |
integer, |
allocatable | :: |
error(:) | | | |
real(kind=rk) |
| :: |
point(nElems_track,3) | | | |
type(var_index), |
allocatable | :: |
varIdx(:) | | | |