Tools to play with solutions. More...
Functions/Subroutines | |
subroutine | init_positions (positions, non_uniform) |
subroutine | init_dx (dx, pos) |
Init the spacing 'dx' between positions. | |
subroutine | init_cv (cv, dx_u, pos) |
Init the control volume 'cv' around nodes The first and last ones are set to dx_u. | |
subroutine | init_faces_positions (faces_positions, positions, cv) |
Compute the positions of the faces surrounding nodes. | |
subroutine | fill_solution (field, pos, sol) |
subroutine | fill_integ_solution (field, pos, dx, integ_sol) |
subroutine | fill_mean_solution (field, pos, dx, integ_sol) |
subroutine | fill_solution_2d (field, pos_x, pos_y, sol) |
subroutine | print_solution (it, t, pos, field, ref) |
subroutine | print_solution_verbose (it, name, t, pos, field, ref) |
subroutine | print_solution_verbose_2d (it, name, t, pos, field, ref) |
double precision function | compute_l2_error (solution, approx) |
Tools to play with solutions.
subroutine ut_solution_tools::init_faces_positions | ( | double precision, dimension(:), intent(out) | faces_positions, |
double precision, dimension(:), intent(in) | positions, | ||
double precision, dimension(:), intent(in) | cv ) |
Compute the positions of the faces surrounding nodes.
[out] | faces_positions | the resulting faces positions of size NX+1 |
[in] | positions | the nodes' positions of size NX |
[in] | cv | the nodes' control volume width of size NX |