Ice Sheet System Model  4.18
Code documentation
ElementMatrix.h
Go to the documentation of this file.
1 
8 #ifndef _ELEMENT_MATRIX_H_
9 #define _ELEMENT_MATRIX_H_
10 
11 /*Headers:*/
12 #include "../../datastructures/datastructures.h"
13 #include "../../toolkits/toolkits.h"
14 #include "../../shared/shared.h"
15 class Node;
16 template <class doublematrix> class Matrix;
17 class Parameters;
18 
20 
21  public:
22 
23  int nrows;
24  int ncols;
27 
28  //gset
30 
31  /*row wise: */
32  //fset
33  int row_fsize;
36  //sset
37  int row_ssize;
40 
41  /*column wise: */
42  //fset
43  int col_fsize;
46  //sset
47  int col_ssize;
50 
51  /*ElementMatrix constructors, destructors*/
52  ElementMatrix();
56  ElementMatrix(Node** nodes,int numnodes,Parameters* parameters,int approximation=NoneApproximationEnum);
58 
59  /*ElementMatrix specific routines*/
63  void CheckConsistency(void);
64  void Echo(void);
65  void Init(ElementMatrix* Ke);
66  void Lump(void);
67  void StaticCondensation(int numindices,int* indices);
68  void Transpose(void);
69 };
70 #endif //#ifndef _ELEMENT_MATRIX_H_
Matrix
Definition: Matrix.h:27
ElementMatrix::gglobaldoflist
int * gglobaldoflist
Definition: ElementMatrix.h:29
IssmDouble
double IssmDouble
Definition: types.h:37
ElementMatrix::col_slocaldoflist
int * col_slocaldoflist
Definition: ElementMatrix.h:48
ElementMatrix::row_slocaldoflist
int * row_slocaldoflist
Definition: ElementMatrix.h:38
Parameters
Declaration of Parameters class.
Definition: Parameters.h:18
ElementMatrix::col_fsize
int col_fsize
Definition: ElementMatrix.h:43
ElementMatrix::col_flocaldoflist
int * col_flocaldoflist
Definition: ElementMatrix.h:44
ElementMatrix::~ElementMatrix
~ElementMatrix()
Definition: ElementMatrix.cpp:222
ElementMatrix::ncols
int ncols
Definition: ElementMatrix.h:24
ElementMatrix::StaticCondensation
void StaticCondensation(int numindices, int *indices)
Definition: ElementMatrix.cpp:524
ElementMatrix::CheckConsistency
void CheckConsistency(void)
Definition: ElementMatrix.cpp:364
ElementMatrix::AddDiagonalToGlobal
void AddDiagonalToGlobal(Vector< IssmDouble > *pf)
Definition: ElementMatrix.cpp:238
NoneApproximationEnum
@ NoneApproximationEnum
Definition: EnumDefinitions.h:1201
ElementMatrix::row_sglobaldoflist
int * row_sglobaldoflist
Definition: ElementMatrix.h:39
ElementMatrix::ElementMatrix
ElementMatrix()
Definition: ElementMatrix.cpp:20
ElementMatrix::Transpose
void Transpose(void)
Definition: ElementMatrix.cpp:502
ElementMatrix::nrows
int nrows
Definition: ElementMatrix.h:23
Node
Definition: Node.h:23
ElementMatrix::Lump
void Lump(void)
Definition: ElementMatrix.cpp:486
ElementMatrix::Echo
void Echo(void)
Definition: ElementMatrix.cpp:377
ElementMatrix::row_fsize
int row_fsize
Definition: ElementMatrix.h:33
ElementMatrix::col_ssize
int col_ssize
Definition: ElementMatrix.h:47
ElementMatrix::row_ssize
int row_ssize
Definition: ElementMatrix.h:37
ElementMatrix::row_flocaldoflist
int * row_flocaldoflist
Definition: ElementMatrix.h:34
ElementMatrix::AddToGlobal
void AddToGlobal(Matrix< IssmDouble > *Kff, Matrix< IssmDouble > *Kfs)
Definition: ElementMatrix.cpp:271
ElementMatrix::col_fglobaldoflist
int * col_fglobaldoflist
Definition: ElementMatrix.h:45
ElementMatrix::dofsymmetrical
bool dofsymmetrical
Definition: ElementMatrix.h:25
ElementMatrix
Definition: ElementMatrix.h:19
Vector< IssmDouble >
ElementMatrix::Init
void Init(ElementMatrix *Ke)
Definition: ElementMatrix.cpp:422
ElementMatrix::row_fglobaldoflist
int * row_fglobaldoflist
Definition: ElementMatrix.h:35
ElementMatrix::col_sglobaldoflist
int * col_sglobaldoflist
Definition: ElementMatrix.h:49
ElementMatrix::values
IssmDouble * values
Definition: ElementMatrix.h:26