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.

Todo

Instead of recreating the sampled varsys and mesh everytime the tracking is written, store them in the ply_sampled_tracking_type.

Get the communicator description for the subsampled mesh.

Arguments

Type IntentOptional Attributes Name
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 config config proc~ply_sampled_track_output->config free_treelmesh free_treelmesh proc~ply_sampled_track_output->free_treelmesh hvs_output_close hvs_output_close proc~ply_sampled_track_output->hvs_output_close hvs_output_init hvs_output_init proc~ply_sampled_track_output->hvs_output_init hvs_output_open hvs_output_open proc~ply_sampled_track_output->hvs_output_open hvs_output_write hvs_output_write proc~ply_sampled_track_output->hvs_output_write instance instance proc~ply_sampled_track_output->instance proc~ply_sample_data ply_sample_data proc~ply_sampled_track_output->proc~ply_sample_data proc~ply_sampling_free_methoddata ply_sampling_free_methodData proc~ply_sampled_track_output->proc~ply_sampling_free_methoddata tem_empty_varsys tem_empty_varsys proc~ply_sampled_track_output->tem_empty_varsys tem_time_reset tem_time_reset proc~ply_sampled_track_output->tem_time_reset tem_tracker tem_tracker proc~ply_sampled_track_output->tem_tracker tem_tracking_has_triggered tem_tracking_has_triggered proc~ply_sampled_track_output->tem_tracking_has_triggered val val proc~ply_sampled_track_output->val proc~ply_sample_data->free_treelmesh proc~ply_sample_data->val get_element get_element proc~ply_sample_data->get_element proc~ply_legendre_1d ply_legendre_1D proc~ply_sample_data->proc~ply_legendre_1d proc~ply_sample_adaptive ply_sample_adaptive proc~ply_sample_data->proc~ply_sample_adaptive tem_CoordOfId tem_CoordOfId proc~ply_sample_data->tem_CoordOfId tem_abort tem_abort proc~ply_sample_data->tem_abort tem_create_subTree_of tem_create_subTree_of proc~ply_sample_data->tem_create_subTree_of tem_create_tree_from_sub tem_create_tree_from_sub proc~ply_sample_data->tem_create_tree_from_sub tem_destroy_subTree tem_destroy_subTree proc~ply_sample_data->tem_destroy_subTree tem_refine_global_subtree tem_refine_global_subtree proc~ply_sample_data->tem_refine_global_subtree tem_varSys_append_stateVar tem_varSys_append_stateVar proc~ply_sample_data->tem_varSys_append_stateVar tem_varSys_init tem_varSys_init proc~ply_sample_data->tem_varSys_init

Called by

proc~~ply_sampled_track_output~~CalledByGraph proc~ply_sampled_track_output ply_sampled_track_output proc~atl_initialize_program atl_initialize_program proc~atl_initialize_program->proc~ply_sampled_track_output proc~atl_solve_program atl_solve_program proc~atl_solve_program->proc~ply_sampled_track_output program~atl_harvesting atl_harvesting program~atl_harvesting->proc~ply_sampled_track_output program~ateles ateles program~ateles->proc~atl_initialize_program program~ateles->proc~atl_solve_program