src/expde/formulas/loc_sten.cc File Reference

#include <iostream>
#include <fstream>
#include <cmath>
#include "../paramete.h"
#include "../abbrevi.h"
#include "../math_lib/math_lib.h"
#include "../formulas/loc_sten.h"

Include dependency graph for loc_sten.cc:

Go to the source code of this file.

Defines

#define x0   V0.x
#define y0   V0.y
#define z0   V0.z
#define x1   V1.x
#define y1   V1.y
#define z1   V1.z
#define x2   V2.x
#define y2   V2.y
#define z2   V2.z
#define x3   V3.x
#define y3   V3.y
#define z3   V3.z
#define vom_feinsten_Gitter   true
#define Drucke_code   true

Functions

bool In_tet (dir_sons *tet, dir_sons s)
double Tetraeder_Det_dx0 (const D3vector &V0, const D3vector &V1, const D3vector &V2, const D3vector &V3)
double Tetraeder_Det_dy0 (const D3vector &V0, const D3vector &V1, const D3vector &V2, const D3vector &V3)
double Tetraeder_Det_dz0 (const D3vector &V0, const D3vector &V1, const D3vector &V2, const D3vector &V3)
double Tetraeder_Det_dx (int n, const dir_sons co0, const dir_sons co1, const dir_sons co2, const dir_sons co3)
double Tetraeder_Det_dy (int n, const dir_sons co0, const dir_sons co1, const dir_sons co2, const dir_sons co3)
double Tetraeder_Det_dz (int n, const dir_sons co0, const dir_sons co1, const dir_sons co2, const dir_sons co3)
double Evaluate_tet (dir_sons *tet, dir_sons s, diff_type dt)
void Calc_Loc_stencil (double *sten, diff_type typ_u, diff_type typ_v)
void Print_u_Recell (double *const *u_Recell, int num)
void Print_part_loc_stencil (double *sten)
void Print_Loc_stencil (double *sten)
void Print_27_stencil (diff_type typ_u, diff_type typ_v)
void Print_27_stencil_var (diff_type typ_u, diff_type typ_v)
void Print_with_Vorzeichen (double x)
void Print_27_stencil_formula_var (diff_type typ_u, diff_type typ_v)
void Print_27_stencil_of_local_matrix (double *sten)
void Print_27_stencil (double Sten27[27])
void Print_27_stencil_Poisson ()
void Print_27_stencil_Poisson_var ()
void Print_Factor (diff_type typ_u, diff_type typ_v)
void Print_Factor_Poisson ()
double Test_evaluation_of_lsm (double *sten, dir_sons dir_v, bool *corner_in_domain)
double Test_evaluation_of_lsm (double *sten, dir_sons dir_v, double *UU)
double Test_evaluation_of_lsm (double *sten, dir_sons dir_v)
void Print_ijk_name (int i, int j, int k)
void Print_d_name (dir_3D d)
void Print_bos_for_restriction (bool idem, dir_3D d, int i_from, int j_from, int k_from, int i_to, int j_to, int k_to, int reg_formula[5][5][5])
void Print_restriction_formula ()


Define Documentation

#define Drucke_code   true
 

Definition at line 906 of file loc_sten.cc.

Referenced by Print_bos_for_restriction(), Print_ijk_name(), and Print_restriction_formula().

#define vom_feinsten_Gitter   true
 

Definition at line 905 of file loc_sten.cc.

Referenced by Print_bos_for_restriction().

#define x0   V0.x
 

Definition at line 42 of file loc_sten.cc.

#define x1   V1.x
 

Definition at line 46 of file loc_sten.cc.

#define x2   V2.x
 

Definition at line 50 of file loc_sten.cc.

#define x3   V3.x
 

Definition at line 54 of file loc_sten.cc.

#define y0   V0.y
 

Definition at line 43 of file loc_sten.cc.

#define y1   V1.y
 

Definition at line 47 of file loc_sten.cc.

#define y2   V2.y
 

Definition at line 51 of file loc_sten.cc.

#define y3   V3.y
 

Definition at line 55 of file loc_sten.cc.

#define z0   V0.z
 

Definition at line 44 of file loc_sten.cc.

#define z1   V1.z
 

Definition at line 48 of file loc_sten.cc.

#define z2   V2.z
 

Definition at line 52 of file loc_sten.cc.

#define z3   V3.z
 

Definition at line 56 of file loc_sten.cc.


Function Documentation

void Calc_Loc_stencil double *  sten,
diff_type  typ_u,
diff_type  typ_v
 

Definition at line 152 of file loc_sten.cc.

References ENDd, ENTd, ESDd, ESTd, Evaluate_tet(), Helm_type, In_tet(), WNDd, WNTd, WSDd, and WSTd.

Referenced by Loc_stencil_container::Give_Loc_sten(), Print_27_stencil(), Print_27_stencil_formula_var(), Print_27_stencil_Poisson(), Print_27_stencil_Poisson_var(), and Print_27_stencil_var().

Here is the call graph for this function:

double Evaluate_tet dir_sons tet,
dir_sons  s,
diff_type  dt
[inline]
 

Definition at line 126 of file loc_sten.cc.

References Dx_type, Dy_type, Tetraeder_Det_dx(), Tetraeder_Det_dy(), and Tetraeder_Det_dz().

Referenced by Calc_Loc_stencil().

Here is the call graph for this function:

bool In_tet dir_sons tet,
dir_sons  s
[inline]
 

Definition at line 58 of file loc_sten.cc.

void Print_27_stencil double  Sten27[27]  ) 
 

Definition at line 678 of file loc_sten.cc.

void Print_27_stencil diff_type  typ_u,
diff_type  typ_v
 

Definition at line 333 of file loc_sten.cc.

void Print_27_stencil_formula_var diff_type  typ_u,
diff_type  typ_v
 

Definition at line 440 of file loc_sten.cc.

References Calc_Loc_stencil(), opposite3D(), Print(), Print_Factor(), and trans_cellP_27().

Here is the call graph for this function:

void Print_27_stencil_of_local_matrix double *  sten  ) 
 

Definition at line 639 of file loc_sten.cc.

References opposite3D(), and trans_cellP_27().

Here is the call graph for this function:

void Print_27_stencil_Poisson  ) 
 

Definition at line 708 of file loc_sten.cc.

References Calc_Loc_stencil(), Dx_type, Dy_type, Dz_type, opposite3D(), Print_Factor_Poisson(), and trans_cellP_27().

Here is the call graph for this function:

void Print_27_stencil_Poisson_var  ) 
 

Definition at line 767 of file loc_sten.cc.

References Calc_Loc_stencil(), Dx_type, Dy_type, Dz_type, endl(), opposite3D(), Print(), Print_Factor_Poisson(), and trans_cellP_27().

Here is the call graph for this function:

void Print_27_stencil_var diff_type  typ_u,
diff_type  typ_v
 

Definition at line 377 of file loc_sten.cc.

References Calc_Loc_stencil(), endl(), opposite3D(), Print(), Print_Factor(), and trans_cellP_27().

Here is the call graph for this function:

void Print_bos_for_restriction bool  idem,
dir_3D  d,
int  i_from,
int  j_from,
int  k_from,
int  i_to,
int  j_to,
int  k_to,
int  reg_formula[5][5][5]
 

Definition at line 962 of file loc_sten.cc.

References Drucke_code, endl(), Print(), Print_d_name(), Print_ijk_name(), and vom_feinsten_Gitter.

Here is the call graph for this function:

void Print_d_name dir_3D  d  ) 
 

Definition at line 952 of file loc_sten.cc.

References Ddir, Edir, Ndir, Sdir, Tdir, and Wdir.

Referenced by Print_bos_for_restriction().

void Print_Factor diff_type  typ_u,
diff_type  typ_v
 

Definition at line 826 of file loc_sten.cc.

References endl(), and Helm_type.

Referenced by Print_27_stencil(), Print_27_stencil_formula_var(), and Print_27_stencil_var().

Here is the call graph for this function:

void Print_Factor_Poisson  ) 
 

Definition at line 838 of file loc_sten.cc.

References endl().

Referenced by Print_27_stencil_Poisson(), and Print_27_stencil_Poisson_var().

Here is the call graph for this function:

void Print_ijk_name int  i,
int  j,
int  k
 

Definition at line 908 of file loc_sten.cc.

References Drucke_code.

Referenced by Print_bos_for_restriction(), and Print_restriction_formula().

void Print_Loc_stencil double *  sten  ) 
 

Definition at line 297 of file loc_sten.cc.

References Print(), and Print_part_loc_stencil().

Here is the call graph for this function:

void Print_part_loc_stencil double *  sten  ) 
 

Definition at line 288 of file loc_sten.cc.

References ENDd, endl(), ENTd, ESDd, ESTd, WNDd, WNTd, WSDd, and WSTd.

Referenced by Print_Loc_stencil().

Here is the call graph for this function:

void Print_restriction_formula  ) 
 

Definition at line 1018 of file loc_sten.cc.

References Drucke_code, endl(), and Print_ijk_name().

Here is the call graph for this function:

void Print_u_Recell double *const *  u_Recell,
int  num
 

Definition at line 279 of file loc_sten.cc.

References ENDd, endl(), ENTd, ESDd, ESTd, WNDd, WNTd, WSDd, and WSTd.

Here is the call graph for this function:

void Print_with_Vorzeichen double  x  ) 
 

Definition at line 427 of file loc_sten.cc.

References ABS().

Here is the call graph for this function:

double Test_evaluation_of_lsm double *  sten,
dir_sons  dir_v
 

Definition at line 865 of file loc_sten.cc.

double Test_evaluation_of_lsm double *  sten,
dir_sons  dir_v,
double *  UU
 

Definition at line 854 of file loc_sten.cc.

double Test_evaluation_of_lsm double *  sten,
dir_sons  dir_v,
bool corner_in_domain
 

Definition at line 842 of file loc_sten.cc.

double Tetraeder_Det_dx int  n,
const dir_sons  co0,
const dir_sons  co1,
const dir_sons  co2,
const dir_sons  co3
[inline]
 

Definition at line 77 of file loc_sten.cc.

References Tetraeder_Det_dx0(), x0, x1, x1DCoord(), x2, x3, y0, y1, y1DCoord(), y2, y3, z0, z1, z1DCoord(), z2, and z3.

Referenced by Evaluate_tet().

Here is the call graph for this function:

double Tetraeder_Det_dx0 const D3vector V0,
const D3vector V1,
const D3vector V2,
const D3vector V3
[inline]
 

Definition at line 62 of file loc_sten.cc.

References y1, y2, y3, z1, z2, and z3.

Referenced by Tetraeder_Det_dx().

double Tetraeder_Det_dy int  n,
const dir_sons  co0,
const dir_sons  co1,
const dir_sons  co2,
const dir_sons  co3
[inline]
 

Definition at line 93 of file loc_sten.cc.

References Tetraeder_Det_dy0(), x0, x1, x1DCoord(), x2, x3, y0, y1, y1DCoord(), y2, y3, z0, z1, z1DCoord(), z2, and z3.

Referenced by Evaluate_tet().

Here is the call graph for this function:

double Tetraeder_Det_dy0 const D3vector V0,
const D3vector V1,
const D3vector V2,
const D3vector V3
[inline]
 

Definition at line 67 of file loc_sten.cc.

References x1, x2, x3, z1, z2, and z3.

Referenced by Tetraeder_Det_dy().

double Tetraeder_Det_dz int  n,
const dir_sons  co0,
const dir_sons  co1,
const dir_sons  co2,
const dir_sons  co3
[inline]
 

Definition at line 109 of file loc_sten.cc.

References Tetraeder_Det_dz0(), x0, x1, x1DCoord(), x2, x3, y0, y1, y1DCoord(), y2, y3, z0, z1, z1DCoord(), z2, and z3.

Referenced by Evaluate_tet().

Here is the call graph for this function:

double Tetraeder_Det_dz0 const D3vector V0,
const D3vector V1,
const D3vector V2,
const D3vector V3
[inline]
 

Definition at line 72 of file loc_sten.cc.

References x1, x2, x3, y1, y2, and y3.

Referenced by Tetraeder_Det_dz().


Generated on Mon Jan 16 13:35:55 2006 for IPPL by  doxygen 1.4.6