ply_sampled_track_output Subroutine

public subroutine ply_sampled_track_output(me, mesh, bc, solver, proc, varSys, var_degree, lvl_degree, var_space, simControl, time)

Output sampled tracking data.

Iterates over all tracking instances in the given me variable, checks whether it should be written at the current point in time (if simControl is provided), subsamples the data and performs the hvs_output for the subsampled data.

Get the communicator description for the subsampled mesh.

Arguments

TypeIntentOptionalAttributesName
type(ply_sampled_tracking_type), intent(inout) :: me

Sampled tracking instances.

type(treelmesh_type), intent(in) :: mesh

Global mesh, required for the sampling.

type(tem_BC_prop_type), intent(in) :: bc

Boundary properties, needed to inherit boundary information to refined meshes and allow the extraction of boundary shape geometries.

type(tem_solveHead_type), intent(in) :: solver

Information about the solver, needed for the output file name.

type(tem_comm_env_type), intent(in) :: proc

General communication environment

type(tem_varSys_type), intent(in) :: varSys

Original variable system

integer, intent(in) :: var_degree(:)

Maximal polynomial degree for each variable

Needs to match the size of the variable system.

integer, intent(in) :: lvl_degree(:)

Maximal polynomial degree for each level

integer, intent(in) :: var_space(:)

Maximal polynomial space for each variable

Needs to match the size of the variable system.

type(tem_simControl_type), intent(in), optional :: simControl

Simulation control to determine, whether trackings should be written

If not provided, all trackings will be written unconditionally.

type(tem_time_type), intent(in), optional :: time

Provide a time for the current data set to write in tracking.

This only is respected if no simControl is provided. If simControl is present the time information from it will be used instead.


Calls

proc~~ply_sampled_track_output~~CallsGraph proc~ply_sampled_track_output ply_sampled_track_output proc~tem_time_reset tem_time_reset proc~ply_sampled_track_output->proc~tem_time_reset proc~tem_empty_varsys tem_empty_varsys proc~ply_sampled_track_output->proc~tem_empty_varsys proc~hvs_output_close hvs_output_close proc~ply_sampled_track_output->proc~hvs_output_close proc~tem_tracker tem_tracker proc~ply_sampled_track_output->proc~tem_tracker proc~hvs_output_write hvs_output_write proc~ply_sampled_track_output->proc~hvs_output_write proc~ply_sampling_free_methoddata ply_sampling_free_methodData proc~ply_sampled_track_output->proc~ply_sampling_free_methoddata proc~hvs_output_open hvs_output_open proc~ply_sampled_track_output->proc~hvs_output_open proc~tem_tracking_has_triggered tem_tracking_has_triggered proc~ply_sampled_track_output->proc~tem_tracking_has_triggered proc~free_treelmesh free_treelmesh proc~ply_sampled_track_output->proc~free_treelmesh proc~hvs_output_init hvs_output_init proc~ply_sampled_track_output->proc~hvs_output_init proc~ply_sample_data ply_sample_data proc~ply_sampled_track_output->proc~ply_sample_data proc~ply_sample_data->proc~free_treelmesh proc~tem_refine_global_subtree tem_refine_global_subtree proc~ply_sample_data->proc~tem_refine_global_subtree proc~tem_coordofid tem_CoordOfId proc~ply_sample_data->proc~tem_coordofid proc~tem_create_subtree_of tem_create_subTree_of proc~ply_sample_data->proc~tem_create_subtree_of proc~tem_varsys_append_statevar tem_varSys_append_stateVar proc~ply_sample_data->proc~tem_varsys_append_statevar proc~ply_legendre_1d ply_legendre_1D proc~ply_sample_data->proc~ply_legendre_1d proc~tem_varsys_init tem_varSys_init proc~ply_sample_data->proc~tem_varsys_init proc~tem_destroy_subtree tem_destroy_subTree proc~ply_sample_data->proc~tem_destroy_subtree proc~ply_sample_adaptive ply_sample_adaptive proc~ply_sample_data->proc~ply_sample_adaptive proc~tem_abort tem_abort proc~ply_sample_data->proc~tem_abort proc~tem_create_tree_from_sub tem_create_tree_from_sub proc~ply_sample_data->proc~tem_create_tree_from_sub proc~ply_sample_adaptive->proc~tem_refine_global_subtree proc~ply_sample_adaptive->proc~tem_create_subtree_of proc~ply_sample_adaptive->proc~tem_varsys_append_statevar proc~ply_sample_adaptive->proc~tem_destroy_subtree proc~ply_sample_adaptive->proc~tem_create_tree_from_sub proc~ply_split_element_init ply_split_element_init proc~ply_sample_adaptive->proc~ply_split_element_init proc~tem_levelof tem_LevelOf proc~ply_sample_adaptive->proc~tem_levelof proc~ply_sampling_var_compute_elemdev ply_sampling_var_compute_elemdev proc~ply_sample_adaptive->proc~ply_sampling_var_compute_elemdev proc~tem_subtree_from tem_subTree_from proc~ply_sample_adaptive->proc~tem_subtree_from proc~tem_bc_prop_pos tem_bc_prop_pos proc~ply_sample_adaptive->proc~tem_bc_prop_pos proc~ply_sampling_var_allocate ply_sampling_var_allocate proc~ply_sample_adaptive->proc~ply_sampling_var_allocate proc~ply_sampling_var_move ply_sampling_var_move proc~ply_sample_adaptive->proc~ply_sampling_var_move mpi_allreduce mpi_allreduce proc~ply_sample_adaptive->mpi_allreduce proc~ply_sampling_varsys_for_track ply_sampling_varsys_for_track proc~ply_sample_adaptive->proc~ply_sampling_varsys_for_track proc~tem_bc_prop_sublist tem_bc_prop_sublist proc~ply_sample_adaptive->proc~tem_bc_prop_sublist

Called by

proc~~ply_sampled_track_output~~CalledByGraph proc~ply_sampled_track_output ply_sampled_track_output program~sdr_harvesting sdr_harvesting program~sdr_harvesting->proc~ply_sampled_track_output

Contents


Variables

TypeVisibilityAttributesNameInitial
character(len=pathLen), private :: basename
type(tem_time_type), private :: loctime
type(tem_varSys_type), private :: sampled_vars
type(treelmesh_type), private :: sampled_mesh
type(tem_comm_env_type), private :: sampled_proc
integer, private :: iTrack
integer, private :: iConfig
integer, private :: iVar