EnSight library module to read OpenFOAM data directly without translation. More...
EnSight library module to read OpenFOAM data directly without translation.
It can currently handle most cell types.
See also: README_USERD_2.0 24 Sep 2001: NN - Added support for Ensight API 2.0 02 Sep 2002: NN - Added support for ghost cells 14 Mar 2004: NN - Added patches to the parts
Definition in file libuserd.C.
#include <stdio.h>#include "src/finiteVolume/cfdTools/general/include/fvCFD.H"#include "src/OpenFOAM/db/IOobjectList/IOobjectList.H"#include "src/lagrangian/basic/Cloud/Cloud.H"#include "src/lagrangian/basic/passiveParticle/passiveParticle.H"#include "src/finiteVolume/fvMesh/fvMesh.H"#include "src/OpenFOAM/meshes/meshShapes/cellModeller/cellModeller.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/globalFoam.H"#include "global_extern.h"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_bkup.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_name_of_reader.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_set_filenames.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_number_of_model_parts.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_changing_geometry_status.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_dataset_query_file_info.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_element_label_status.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_node_label_status.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_number_of_files_in_dataset.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_number_of_variables.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_stop_part_building.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_constant_val.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_descrip_lines.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_var_value_at_specific.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_gold_variable_info.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_gold_part_build_info.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_num_of_time_steps.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_sol_times.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_set_time_set_and_step.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_var_by_component.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_part_coords.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_part_node_ids.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_part_elements_by_type.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_part_element_ids_by_type.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_exit_routine.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_model_extents.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_reader_version.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_number_timesets.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_timeset_description.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_geom_timeset_number.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_border_availability.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_border_elements_by_type.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_maxsize_info.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_set_server_number.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_number_of_material_sets.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_matf_set_info.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_number_of_materials.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_matf_var_info.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_size_matf_data.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_load_matf_data.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_nsided_conn.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_nfaced_nodes_per_face.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_nfaced_conn.H"#include "applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_structured_data.H"