The various main operations are given basically in the order they will be performed. Within each operation, the order the routines will be called is given.
Called when library is loaded |
1. Setting name in the graphical user interface, and specifying one or two input fields - called when library is loaded. USERD_get_reader_descrip (optional) USERD_prefer_auto_distribute (optional) USERD_set_filename_button_labels (optional) USERD_get_extra_gui_numbers (optional) USERD_get_extra_gui_defaults (optional) USERD_get_reader_release (optional) |
Called once at initial data load when 'OK' pressed to load data |
2. Setting filenames and getting time info USERD_set_extra_gui_data (optional) USERD_get_number_of_time_steps 3. Gathering info for part builder USERD_get_changing_geometry_status USERD_get_element_label_status USERD_get_number_of_files_in_dataset USERD_get_dataset_query_file_info USERD_get_description_lines (for geometry) USERD_get_number_of_model_parts USERD_get_number_of_global_nodes USERD_get_global_coords (for model extents) USERD_get_block_coords_by_component (for model extents) 4. Gathering Variable info 5. Part building (per part created) USERD_get_element_connectivities_for_part USERD_get_element_ids_for_part USERD_get_block_coords_by_component USERD_stop_part_building (only once when part builder dialog is closed) |
6. Loading variables |
Calls for all constants at this point and not called again. (Nested loops, outer is over all constants, inner is over all timesteps) |
constants: |
Called when activated or when timestep changes |
scalars: vectors: |
Called when timestep changes |
7. Changing geometry changing coords only: USERD_get_block_coords_by_component changing connectivity: USERD_get_number_of_model_parts USERD_get_number_of_global_nodes USERD_get_element_connectivities_for_part |
Called for node or element queries over time or at a specific node or element |
8. Node or element queries over time |