OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

libuserd.C

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software; you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by the
00013     Free Software Foundation; either version 2 of the License, or (at your
00014     option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM; if not, write to the Free Software Foundation,
00023     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00024 
00025 Application
00026     libuserd-foam
00027 
00028 Description
00029     EnSight library module to read OpenFOAM data directly without translation
00030 
00031     It can currently handle most cell types.
00032 
00033     See also: README_USERD_2.0
00034     24 Sep 2001: NN - Added support for Ensight API 2.0
00035     02 Sep 2002: NN - Added support for ghost cells
00036     14 Mar 2004: NN - Added patches to the parts
00037 
00038 \*---------------------------------------------------------------------------*/
00039 
00040 #include <stdio.h>
00041 
00042 #include "fvCFD.H"
00043 #include "IOobjectList.H"
00044 #include "Cloud.H"
00045 #include "passiveParticle.H"
00046 #include "fvMesh.H"
00047 #include "cellModeller.H"
00048 #include "globalFoam.H"
00049 
00050 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00051 
00052 extern "C"
00053 {
00054 
00055 #include "global_extern.h"
00056 
00057 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00058 // same API as in 1.0
00059 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00060 
00061 #include "USERD_bkup.H"
00062 #include "USERD_get_name_of_reader.H"
00063 #include "USERD_set_filenames.H"
00064 #include "USERD_get_number_of_model_parts.H"
00065 #include "USERD_get_changing_geometry_status.H"
00066 #include "USERD_get_dataset_query_file_info.H"
00067 #include "USERD_get_element_label_status.H"
00068 #include "USERD_get_node_label_status.H"
00069 #include "USERD_get_number_of_files_in_dataset.H"
00070 #include "USERD_get_number_of_variables.H"
00071 #include "USERD_stop_part_building.H"
00072 
00073 
00074 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00075 // slightly changed with 2.0 from 1.0
00076 // (to handle complex variables -  not used by FOAM anyway)
00077 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00078 
00079 #include "USERD_get_constant_val.H"
00080 #include "USERD_get_descrip_lines.H"
00081 #include "USERD_get_var_value_at_specific.H"
00082 #include "USERD_get_gold_variable_info.H"
00083 
00084 
00085 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00086 // critical changes with 2.0 from 1.0
00087 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00088 
00089 #include "USERD_get_gold_part_build_info.H"
00090 #include "USERD_get_num_of_time_steps.H"
00091 #include "USERD_get_sol_times.H"
00092 #include "USERD_set_time_set_and_step.H"
00093 
00094 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00095 // new additions with 2.0 from 1.0
00096 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00097 
00098 #include "USERD_get_var_by_component.H"
00099 #include "USERD_get_part_coords.H"
00100 #include "USERD_get_part_node_ids.H"
00101 #include "USERD_get_part_elements_by_type.H"
00102 #include "USERD_get_part_element_ids_by_type.H"
00103 
00104 #include "USERD_exit_routine.H"
00105 #include "USERD_get_model_extents.H"
00106 #include "USERD_get_reader_version.H"
00107 #include "USERD_get_number_timesets.H"
00108 #include "USERD_get_timeset_description.H"
00109 #include "USERD_get_geom_timeset_number.H"
00110 
00111 #include "USERD_get_border_availability.H"
00112 #include "USERD_get_border_elements_by_type.H"
00113 
00114 #include "USERD_get_maxsize_info.H"
00115 #include "USERD_set_server_number.H"
00116 
00117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00118 // new additions with 2.03 from 2.02
00119 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00120 
00121 #include "USERD_get_number_of_material_sets.H"
00122 #include "USERD_get_matf_set_info.H"
00123 #include "USERD_get_number_of_materials.H"
00124 #include "USERD_get_matf_var_info.H"
00125 #include "USERD_size_matf_data.H"
00126 #include "USERD_load_matf_data.H"
00127 #include "USERD_get_nsided_conn.H"
00128 #include "USERD_get_nfaced_nodes_per_face.H"
00129 #include "USERD_get_nfaced_conn.H"
00130 
00131 //**********************************************************************
00132 //======================================================================
00133 // STRUCTURED DATA STUFF - not used in foam
00134 //======================================================================
00135 //**********************************************************************
00136 
00137 #include "USERD_structured_data.H"
00138 
00139 }
00140 
00141 // ************************************************************************ //
Copyright © 2000-2009 OpenCFD Ltd