mmd_prism_2D/mms_prism_2D_intf.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "uth_log.h"
#include "uth_hash.h"
#include "mmh_intf.h"
#include "mmh_prism_2D.h"
Include dependency graph for mms_prism_2D_intf.c:

Functions

int mmr_module_introduce (char *Mesh_name)
voidmmr_module_internals (int Mesh_id)
int mmr_init_mesh (int Control, char *Filename, FILE *interactive_output)
int mmr_export_mesh (int Mesh_id, int Control, char *Filename)
int mmr_test_mesh (int Mesh_id)
int mmr_mesh_i_params (int Mesh_id, int Num)
int mmr_get_nr_elem (int Mesh_id)
int mmr_get_max_elem_id (int Mesh_id)
int mmr_get_next_act_elem (int Mesh_id, int Nel)
int mmr_get_next_elem_all (int Mesh_id, int Nel)
int mmr_get_nr_face (int Mesh_id)
int mmr_get_max_face_id (int Mesh_id)
int mmr_get_next_act_face (int Mesh_id, int Nfa)
int mmr_get_next_face_all (int Mesh_id, int Nfa)
int mmr_get_nr_edge (int Mesh_id)
int mmr_get_max_edge_id (int Mesh_id)
int mmr_get_next_edge_all (int Mesh_id, int Ned)
int mmr_get_nr_node (int Mesh_id)
int mmr_get_max_node_id (int Mesh_id)
int mmr_get_next_node_all (int Mesh_id, int Nno)
int mmr_set_max_gen (int Mesh_id, int Max_gen)
int mmr_get_max_gen (int Mesh_id)
int mmr_get_max_gen_diff (int Mesh_id)
int mmr_set_max_gen_diff (int Mesh_id, int Max_gen_diff)
int mmr_init_ref (int Mesh_id)
int mmr_is_ready_for_proj_dof_ref (int Mesh_id)
int mmr_refine_el (int Mesh_id, int El)
int mmr_derefine_el (int Mesh_id, int El)
int mmr_refine_mesh (int Mesh_id)
int mmr_derefine_mesh (int Mesh_id)
int mmr_final_ref (int Mesh_id)
int mmr_free_mesh (int Mesh_id)
int mmr_get_max_elem_max (int Mesh_id)
int mmr_get_max_face_max (int Mesh_id)
int mmr_get_max_edge_max (int Mesh_id)
int mmr_get_max_node_max (int Mesh_id)
int mmr_init_mesh2 (FILE *Interactive_output, const int N_nodes, const int N_edges, const int N_faces, const int N_elems)
int mmr_finish_read (const int Mesh_id)
int mmr_init_read (const int Mesh_id, const int N_nodes, const int N_edges, const int N_faces, const int N_elems)
int mmr_add_elem (const int Mesh_id, const int Id, const int El_type, const int El_nodes[6], const int El_faces[5], const int Material_idx)
int mmr_add_face (const int Mesh_id, const int Id, const int Fa_type, const int Fa_nodes[4], const int Fa_edges[4], const int Fa_neigs[2], const int B_cond_val)
int mmr_add_edge (const int Mesh_id, const int Id, const int nodes[2])
int mmr_add_node (const int Mesh_id, const int Id, const double Coords[3])
int mmr_current_mesh_state_hash (const int Mesh_id)
 mmr_current_mesh_state_hash - returns an current unique value (state hash, state stamp) that can be used to compare with value returned from this function at other time. If values are different, then one can assume that mesh internal state has changed.
void mmr_get_coor_from_motion_element (const int Mesh_id, int idEl, int idLP, double *coor, int flagaSiatki)
void mmr_copyMESH (const int Mesh_id, int flaga)
void mmr_create_mesh_Cube (const int Mesh_id, const char *nazwa, int node_x, int node_y, int node_z, double size_x, double size_y, double size_z, double divide, int *warunki)
void mmr_init_all_change (const int Mesh_id, int a)
void mmr_test_mesh_motion (const int Mesh_id, int ileWarstw, int obecny_krok, int od_krok, int ileKrok, double minPoprawy, double px0, double py0, double pz0, double px1, double py1, double pz1, double endX, double endY, double endZ)
double mmr_test_weldpool (const int Mesh_id, double obecnyKrok, double krok_start, double minPoprawy, double doX, double doY, double dl, double zmiejszaPrzes, double limit, double szerokosc)
int mmr_groups_number (const int Mesh_id)
int mmr_groups_ids (const int Mesh_id, int *tab, int l_tab)
int mmr_get_fa_el_bc_connect (const int Mesh_id, int face_id, int *el_id)
int mmr_split_into_blocks_add_contact (const int Mesh_id, const char *workdir, int *tabMat, int l_mat, int *tabBlock, int l_block, int *war, int l_war, double *tempBlock, int l_tempBlock, int *groups_fluid, int l_groups_fluid)
void mmr_get_vec_norm_at_node (const int Mesh_id, int node_id, double *vec_norm)
 mmr_get_fa_el_bc_connect

Variables

const int MMC_MAX_EDGE_ELEMS = 101
const int MMC_CUR_MESH_ID = 0
const int MMC_DO_UNI_REF = -1
const int MMC_DO_UNI_DEREF = -2
const int MMC_ACTIVE = 1
const int MMC_INACTIVE = -1
const int MMC_FREE = 0
const int MMC_PRINT_NOT = 0
const int MMC_PRINT_ERRORS = 1
const int MMC_PRINT_INFO = 2
const int MMC_PRINT_ALLINFO = 3
const int MMC_BOUNDARY = 0
const int MMC_BIG_NGB = -1
const int MMC_SUB_BND = -2
const int MMC_NOT_REF = 0
const int MMC_REF_ISO = 1
const int MMC_REF_ANI = 2
const int MMC_INIT_GEN_LEVEL = 0
const int MMC_NO_FATH = 0
const int MMC_SAME_ORIENT = 1
const int MMC_OPP_ORIENT = -1
const int MMC_FACE_NODES_FOR_TETRA [4][3] = {{0,1,2},{0,1,3},{0,2,3},{1,2,3}}
const int MMC_FACE_NODES_FOR_PRISM [5][4] = {{0,1,2,-1},{3,4,5,-1},{0,1,3,4},{1,2,4,5},{2,0,5,3}}
int mmv_nr_meshes = 0
int mmv_cur_mesh_id = 0
mmt_mesh mmv_meshes [MMC_MAX_NUM_MESH]
const int MMC_AUTO_GENERATE_ID = 0
const int MMC_IS_SUPPORTING_NEW_MPI = 0

Function Documentation

int mmr_split_into_blocks_add_contact ( const int  Mesh_id,
const char *  workdir,
int *  tabMat,
int  l_mat,
int *  tabBlock,
int  l_block,
int *  war,
int  l_war,
double *  tempBlock,
int  l_tempBlock,
int *  groups_fluid,
int  l_groups_fluid 
)

Variable Documentation

const int MMC_OPP_ORIENT = -1
const int MMC_SAME_ORIENT = 1
int mmv_cur_mesh_id = 0
mmt_mesh mmv_meshes[MMC_MAX_NUM_MESH]
int mmv_nr_meshes = 0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1