include/uth_mat.h File Reference

#include <stdlib.h>
Include dependency graph for uth_mat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  utt_material_data
struct  utt_material_query_params
struct  utt_material_query_result
 Result of the utr_material_query . NOTE: if parameter is required, it have to be set to UTC_MAT_QUERY_RESULT_REQUIRED before executing utr_material_query !. By default all parameters are set to UTC_MAT_QUERY_RESULT_NOT_NEEDED. More...

Defines

#define UTC_MAT_QUERY_RESULT_NOT_NEEDED   -1.0
 Used to indicate not needed parameters in utt_material_query_result .
#define UTC_MAT_QUERY_RESULT_REQUIRED   -3.0
 Used to indicate required parameters in utt_material_query_result .

Enumerations

enum  utt_query_type { QUERY_NODE, QUERY_POINT }
enum  utt_is_fluid { NOT_FLUID = 0, FLUID = 1 }
enum  ute_mat_groupID_flag { UTE_GROUP_ID_NOT_ASSIGNED = -1, UTE_GROUP_ID_DEFAULT_BLOCK = 1 }
 

For the purpose of backward-compatibility and support of auto-assigning to groups, a few additional flags are provided.

More...
enum  ute_mat_read_result { UTE_SUCCESS = EXIT_SUCCESS, UTE_FAIL = -1, UTE_REF_TEMP_MUST_BE_GEQ_ZERO = -2, UTE_NOT_NEED_MATERIAL_DATABASE = 1 }

Functions

ute_mat_read_result utr_mat_read (const char *Work_dir, const char *Filename, FILE *Interactive_output)
void utr_mat_init_query_result (utt_material_query_result *result)
int utr_material_query (const utt_material_query_params *Params, utt_material_query_result *Result)
 Main function for queering for material data.
int utr_mat_get_matID (int groupID)
 To get material number associated with given element group number.
int utr_mat_get_n_materials ()
 To get total number of materials in current database.
int utr_mat_get_materials_IDs (int *materialIDs)
 utr_mat_get_materials_IDs To get array of all known materialIDs
void utr_mat_clear_material (utt_material_data *mat)
 To permanently delete stored material and free resources.
void utr_mat_clear_all ()
 To permanently delete all stored materials.
const utt_material_datautr_mat_get_material (const int groupID)
 To gain access to raw material data. NOTE: this is NOT the same as calling utr_material_query !
const utt_material_datautr_mat_get_material_by_matID (int matID)
 To gain access to raw material data. NOTE: this is NOT the same as calling utr_material_query !

Variables

const char * utc_mat_database_filename
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1