00001 /************************************************************************ 00002 File pdh_plast_flow_materials.h - types and functions related to materials 00003 handling - for plast_flow problem 00004 00005 Contains declarations of routines: 00006 pdr_plast_flow_material_read - reads materials file and fills structures 00007 pdr_plast_flow_material_query - gets material data 00008 pdr_plast_flow_material_free - free materials structures 00009 00010 ------------------------------ 00011 History: 00012 2011 - Przemyslaw Plaszewski (pplaszew@agh.edu.pl) 00013 2011 - Aleksander Siwek (Aleksander.Siwek@agh.edu.pl) 00014 2012 - Krzysztof Banas (pobanas@cyf-kr.edu.pl) 00015 2015 - Aleksander Siwek (Aleksander.Siwek@agh.edu.pl) (forming and plast_flow) 00016 00017 *************************************************************************/ 00018 00019 #ifndef PDH_PLAST_FLOW_MATERIALS 00020 #define PDH_PLAST_FLOW_MATERIALS 00021 00022 #include <stdio.h> 00023 00024 #include "uth_mat.h" 00025 00026 #ifdef __cplusplus 00027 extern "C" 00028 { 00029 #endif 00030 00031 00032 /**************************************/ 00033 /* INTERNAL PROCEDURES */ 00034 /**************************************/ 00035 /* Rules: 00036 /* - name always begins with pdr_ */ 00037 /* - argument names start uppercase */ 00038 00042 int pdr_plast_flow_material_read( 00043 char *Work_dir, 00044 char *Filename, 00045 FILE *Interactive_output 00046 ); 00047 00051 int pdr_plast_flow_material_query( 00052 const utt_material_query_params *Params, /* in: query parameters */ 00053 utt_material_query_result *Result /* out: material data */ 00054 ); 00055 00059 //int pdr_plast_flow_material_free(); 00060 00061 #ifdef __cplusplus 00062 } 00063 #endif 00064 00065 #endif