FiberPrintPARM.cpp
Go to the documentation of this file.
2 
4  double Wp, double Wa, double Wi, double seq_D_tol,
5  double ADMM_D_tol , double penalty, double pri_tol, double dual_tol,
6  double radius, double density, double g,
7  double youngs_modulus, double shear_modulus, double poisson_ratio
8  )
9 {
10  /*
11  * FYI; Unit Transfer
12  * Gpa = 10^3Mpa = 10^9pa
13  * 1 kg/m^3 = 1e-3 g/cm^3 = 1e-12 Ton/mm^3
14  * 1 Pa = 1 N/mm^2
15  * 1 N = kg/(m * s^2)
16  * 1 Giga = 10^3 Mega = 10^6
17  */
18 
19  /*
20  * Test case 1: Acrylonitrile Butadiene Styrene (ABS)
21  * Data Source : http://www.grantadesign.com/education/datasheets/ABS.htm
22  * Density ; 1210 * 1e-12 Ton/mm^3
23  * Elastic(Young's) Modulus : 1100 Mpa
24  * Shear Modulus : 1032 Mpa
25  * radius of the element : 0.6 mm
26  * poisson ratio : 0.39
27  */
28 
29  /*
30  * Gravity acceleration along Z axis: gZ = -9806.33 mm/s^2
31  */
32 
33  radius_ = radius;
34  density_ = density;
35  g_ = g;
36  youngs_modulus_ = youngs_modulus;
37  shear_modulus_ = shear_modulus;
38  poisson_ratio_ = poisson_ratio;
39 
40  ADMM_D_tol_ = ADMM_D_tol;
41  penalty_ = penalty;
42  pri_tol_ = pri_tol;
43  dual_tol_ = dual_tol;
44 
45  Wp_ = Wp;
46  Wa_ = Wa;
47  Wi_ = Wi;
48  seq_D_tol_ = seq_D_tol;
49 }
50 
51 
53 {
54 }
FiberPrintPARM(double Wp=1.0, double Wa=1.0, double Wi=5.0, double seq_D_tol=2.0, double ADMM_D_tol=1.0, double penalty=1e2, double pri_tol=1e-2, double dual_tol=1e-2, double radius=0.75, double density=1210 *1e-12, double g=-9806.3, double youngs_modulus=3457, double shear_modulus=1294, double poisson_ratio=0.335)
GLboolean GLboolean g
double youngs_modulus_
double shear_modulus_
double poisson_ratio_


choreo_task_sequence_planner
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:03:14