apd_std_quad/aps_std_util.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include "./aph_std_quad.h"
#include "mmh_intf.h"
#include "lin_alg_intf.h"
#include "uth_intf.h"
#include "uth_log.h"
Include dependency graph for aps_std_util.c:

Defines

#define SMALL   1e-9
#define CLOSE   1e-6
#define ut_max(x, y)   ((x)>(y)?(x):(y))
#define ut_min(x, y)   ((x)<(y)?(x):(y))
#define ut_abs(x)   ((x)<0?-(x):(x))

Functions

double ut_mat3_inv (double *mat, double *mat_inv)
 * local variables */
void ut_vec3_prod (double *vec_a, double *vec_b, double *vec_c)
double ut_vec3_mxpr (double *vec_a, double *vec_b, double *vec_c)
double ut_vec3_length (double *vec)
void ut_mat3vec (double *m1, double *v1, double *v2)
void ut_mat3mat (double *m1, double *m2, double *m3)
int ut_chk_list (int Num, int *List, int Ll)
void apr_test_pdeg (int *Pdeg_in, int *BASE_PDEG, int *GEO_PDEG)
int apr_safe_dof_free (int Field_id, int dof_id, int dof_type, int remove_constr)
apt_fieldapr_select_field (int Field_id)
int apr_create_constr_data (int Field_id)
int apr_get_constr_data (int Field_id, int Node_id, int Node_type, int *Constr, int *Constr_type)
int apr_get_el_constr_data (int Field_id, int El_id, int *Nodes, int *Nr_constr, int *Constr_id, int *Constr_type, double *Constr_val)
int apr_shape_fun_3D_std_prism (int shape_fun_type, double *Eta, double *Base_phi, double *Base_dphix, double *Base_dphiy, double *Base_dphiz)
double apr_elem_calc_3D_prism (int Control, int Nreq, int *Pdeg_vec, int Base_type, double *Eta, double *Node_coor, double *Sol_dofs, double *Base_phi, double *Base_dphix, double *Base_dphiy, double *Base_dphiz, double *Xcoor, double *Sol, double *Dsolx, double *Dsoly, double *Dsolz, double *Vec_nor)
int apr_shape_fun_3D_std_tetra (int shape_fun_type, double *Eta, double *Base_phi, double *Base_dphix, double *Base_dphiy, double *Base_dphiz)
double apr_elem_calc_3D_tetra (int Control, int Nreq, int *Pdeg_vec, int Base_type, double *Eta, double *Node_coor, double *Sol_dofs, double *Base_phi, double *Base_dphix, double *Base_dphiy, double *Base_dphiz, double *Xcoor, double *Sol, double *Dsolx, double *Dsoly, double *Dsolz, double *Vec_nor)
int apr_shape_fun_3D (int Base_type, int Pdeg, double *Eta, double *Base_phi, double *Base_dphix, double *Base_dphiy, double *Base_dphiz)
double apr_elem_calc_3D (int Control, int Nreq, int *Pdeg_vec, int Base_type, double *Eta, double *Node_coor, double *Sol_dofs, double *Base_phi, double *Base_dphix, double *Base_dphiy, double *Base_dphiz, double *Xcoor, double *Sol, double *Dsolx, double *Dsoly, double *Dsolz, double *Vec_nor)
int apr_set_quadr_3D (int Base_type, int *Pdeg_vec, int *Ngauss, double *Xg, double *Wg)
int apr_set_quadr_2D (int Fa_type, int Base_type, int *Pdeg_vec, int *Ngauss, double *Xg, double *Wg)
int apr_set_quadr_2D_penalty (int Fa_type, int Base_type, int *Pdeg_vec, int *Ngauss, double *Xg, double *Wg)
int apr_L2_proj (int Field_id, int Mode, int El, int *Pdeg_vec, double *Dofs, int *El_from, int *Pdeg_vec_from, double *Dofs_from, double(*Fun_p)(double *, double *, double *, double *))
int apr_is_pt_in_t4elem (const int Mesh_id, const int El_id, const double Xglob[], double Xloc[], const double node_coor[], double D[])
int apr_sol_xglob (int Field_id, double *Xglob, int Nb_sol, int *El, double *Xloc, double *Sol, double *Dxsol, double *Dysol, double *Dzsol, double Close_proximity_precision, int Sol_xglob_flags)
int apr_get_profile (FILE *filePtr, int fieldId, int solNr, int nSol, double *pt1, double *pt2, int nPoints)
 apr_get_profile - to return values of solution at given points

Variables

const int X = 0
const int Y = 1
const int Z = 2
struct {
   int   id [27]
   float   val [119]
constr_coeff

Define Documentation

#define CLOSE   1e-6
#define SMALL   1e-9
#define ut_abs (  )     ((x)<0?-(x):(x))
#define ut_max ( x,
 )     ((x)>(y)?(x):(y))
#define ut_min ( x,
 )     ((x)<(y)?(x):(y))

Function Documentation

double apr_elem_calc_3D_prism ( int  Control,
int  Nreq,
int *  Pdeg_vec,
int  Base_type,
double *  Eta,
double *  Node_coor,
double *  Sol_dofs,
double *  Base_phi,
double *  Base_dphix,
double *  Base_dphiy,
double *  Base_dphiz,
double *  Xcoor,
double *  Sol,
double *  Dsolx,
double *  Dsoly,
double *  Dsolz,
double *  Vec_nor 
)

switch(Control)

Here is the call graph for this function:

double apr_elem_calc_3D_tetra ( int  Control,
int  Nreq,
int *  Pdeg_vec,
int  Base_type,
double *  Eta,
double *  Node_coor,
double *  Sol_dofs,
double *  Base_phi,
double *  Base_dphix,
double *  Base_dphiy,
double *  Base_dphiz,
double *  Xcoor,
double *  Sol,
double *  Dsolx,
double *  Dsoly,
double *  Dsolz,
double *  Vec_nor 
)

switch

Here is the call graph for this function:

int apr_is_pt_in_t4elem ( const int  Mesh_id,
const int  El_id,
const double  Xglob[],
double  Xloc[],
const double  node_coor[],
double  D[] 
)

Here is the call graph for this function:

int apr_safe_dof_free ( int  Field_id,
int  dof_id,
int  dof_type,
int  remove_constr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int apr_shape_fun_3D_std_prism ( int  shape_fun_type,
double *  Eta,
double *  Base_phi,
double *  Base_dphix,
double *  Base_dphiy,
double *  Base_dphiz 
)

Here is the caller graph for this function:

int apr_shape_fun_3D_std_tetra ( int  shape_fun_type,
double *  Eta,
double *  Base_phi,
double *  Base_dphix,
double *  Base_dphiy,
double *  Base_dphiz 
)

Here is the caller graph for this function:

void apr_test_pdeg ( int *  Pdeg_in,
int *  BASE_PDEG,
int *  GEO_PDEG 
)

Here is the caller graph for this function:

int ut_chk_list ( int  Num,
int *  List,
int  Ll 
)
void ut_mat3mat ( double *  m1,
double *  m2,
double *  m3 
)
void ut_mat3vec ( double *  m1,
double *  v1,
double *  v2 
)
double ut_vec3_mxpr ( double *  vec_a,
double *  vec_b,
double *  vec_c 
)
void ut_vec3_prod ( double *  vec_a,
double *  vec_b,
double *  vec_c 
)

Variable Documentation

struct { ... } constr_coeff
int id[27]
float val[119]
const int X = 0
const int Y = 1
const int Z = 2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1