This unit test tests the different evaluation types for user defined variables.
Type | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|
character, | parameter | :: | nl | = | C_NEW_LINE | |
character(len=solSpecLen), | parameter | :: | sysConf | = | 'variable = {'//nl//' {'//nl//' name = "velocity",'//nl//' ncomponents = 3,'//nl//' vartype = "st_fun",'//nl//' st_fun = {'//nl//' const = {1,2,3}'//nl//' }'//nl//' },'//nl//' {'//nl//' name = "density",'//nl//' ncomponents = 1,'//nl//' vartype = "st_fun",'//nl//' st_fun = {'//nl//' const = 4'//nl//' }'//nl//' },'//nl//' {'//nl//' name = "all",'//nl//' ncomponents = 4,'//nl//' vartype = "operation",'//nl//' operation = {'//nl//' kind = "combine",'//nl//' input_varname = { "density", "velocity" }'//nl//' }'//nl//' },'//nl//'}'//nl | |
integer | :: | nComponents | ||||
integer | :: | nDofs | ||||
integer | :: | nElemsToTrack | ||||
integer | :: | pos | ||||
type(solver_type), | target | :: | solver | |||
type(tem_varSys_type) | :: | varSys | ||||
type(tem_st_fun_linkedList_type) | :: | st_funList | ||||
type(tem_variable_type), | allocatable | :: | newVar(:) | |||
real(kind=rk), | allocatable | :: | res(:) | |||
real(kind=rk), | allocatable | :: | error(:) | |||
integer, | allocatable | :: | vError(:) |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | nDofs | ||||
type(treelmesh_type), | public | :: | tree | ||||
type(tem_BC_prop_type), | public | :: | boundary | ||||
type(tem_general_type), | public | :: | general |