source: issm/trunk/src/c/objects/Numerics/ElementMatrix.h@ 5827

Last change on this file since 5827 was 5827, checked in by Mathieu Morlighem, 15 years ago

some renaming

File size: 1.5 KB
RevLine 
[5772]1/*!\file: ElementMatrix.h
2 * \brief container for information needed to plug element matrix generated by elements
3 * into the Kff and Kfs global matrices.
[5827]4 * This object will hold the element matrix on the g-set, the local as well as global
[5772]5 * dof lists in the f and s sets.
6 */
7
8#ifndef _ELEMENT_MATRIX_H_
9#define _ELEMENT_MATRIX_H_
10
11/*Headers:*/
12/*{{{1*/
13#include "../Object.h"
14#include "../../toolkits/toolkits.h"
15/*}}}*/
16
17class ElementMatrix{
18
19 public:
20
21 int nrows;
22 int ncols;
23 double* values;
[5821]24 bool square;
[5772]25 bool kff;
26
27 //gset
[5827]28 int* gglobaldoflist;
[5772]29
30 /*row wise: */
31 //fset
32 int row_fsize;
[5827]33 int* row_flocaldoflist;
34 int* row_fglobaldoflist;
[5772]35 //sset
36 int row_ssize;
[5827]37 int* row_slocaldoflist;
38 int* row_sglobaldoflist;
[5772]39
40 /*column wise: */
41 //fset
42 int col_fsize;
[5827]43 int* col_flocaldoflist;
44 int* col_fglobaldoflist;
[5772]45 //sset
46 int col_ssize;
[5827]47 int* col_slocaldoflist;
48 int* col_sglobaldoflist;
[5772]49
50 /*ElementMatrix constructors, destructors {{{1*/
51 ElementMatrix();
[5827]52 ElementMatrix(int gsize,bool square,int* gglobaldoflist);
53 ElementMatrix(int gsize,bool square,int* flocaldoflist,int* fglobaldoflist,int fsize,int* slocaldoflist,int* sglobaldoflist,int ssize);
[5772]54 ~ElementMatrix();
55 /*}}}*/
56 /*ElementMatrix specific routines {{{1*/
57 void AddValues(double* Ke_gg);
58 void AddToGlobal(Mat Kgg, Mat Kff, Mat Kfs);
59 void Echo(void);
60 /*}}}*/
61};
62#endif //#ifndef _ELEMENT_MATRIX_H_
63
Note: See TracBrowser for help on using the repository browser.