MassMatrixQuadratic.h
Go to the documentation of this file.
1 //
2 // This file is part of the FFEA simulation package
3 //
4 // Copyright (c) by the Theory and Development FFEA teams,
5 // as they appear in the README.md file.
6 //
7 // FFEA is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // FFEA is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with FFEA. If not, see <http://www.gnu.org/licenses/>.
19 //
20 // To help us fund FFEA development, we humbly ask that you cite
21 // the research papers on the package.
22 //
23 
24 #ifndef MASSMATRIXQUADRATIC_H_INCLUDED
25 #define MASSMATRIXQUADRATIC_H_INCLUDED
26 
27 #define NUM_ELEMENTS_LOWER_TRIANGULAR_10X10 55
28 
29 #define NUM_SHAPE_FUNCTIONS 10
30 
31 #define NUM_TET_GAUSS_QUAD_POINTS 14
32 
33 #include "SecondOrderFunctions.h"
34 #include "dimensions.h"
36 public:
38 
39  scalar * get_M_alpha_mem_loc(int i, int j);
40 
41  void build(mesh_node *n[10]);
42 
43  scalar get_M_alpha_value(int i, int j);
44  void print_details();
45 private:
47 
50  scalar eta[4];
51  };
52 
53  void add_psi_dot_products(scalar psi[10], scalar det_J, scalar weight);
54 
55  void zero();
56 };
57 
58 
59 #endif
MassMatrixQuadratic()
Definition: MassMatrixQuadratic.cpp:26
scalar M_alpha[NUM_ELEMENTS_LOWER_TRIANGULAR_10X10]
Definition: MassMatrixQuadratic.h:46
scalar eta[4]
Definition: MassMatrixQuadratic.h:50
#define NUM_ELEMENTS_LOWER_TRIANGULAR_10X10
Definition: MassMatrixQuadratic.h:27
scalar * get_M_alpha_mem_loc(int i, int j)
Definition: MassMatrixQuadratic.cpp:30
scalar get_M_alpha_value(int i, int j)
Definition: MassMatrixQuadratic.cpp:122
void zero()
Definition: MassMatrixQuadratic.cpp:152
scalar W
Definition: MassMatrixQuadratic.h:49
Definition: mesh_node.h:39
Definition: MassMatrixQuadratic.h:35
void add_psi_dot_products(scalar psi[10], scalar det_J, scalar weight)
Definition: MassMatrixQuadratic.cpp:142
void print_details()
Definition: MassMatrixQuadratic.cpp:158
static const int i
index of ith thing
Definition: rod_math_v9.h:63
void build(mesh_node *n[10])
Definition: MassMatrixQuadratic.cpp:50
Definition: MassMatrixQuadratic.h:48
double scalar
Definition: mat_vec_types.h:36