source: issm/trunk-jpl/src/c/objects/DofIndexing.h@ 12322

Last change on this file since 12322 was 12322, checked in by utke, 13 years ago

using typedef'ed name

File size: 1.4 KB
Line 
1/*!\file: DofIndexing.h
2 * \brief prototype for DofIndexing.h
3 */
4
5#ifndef _DOFINDEXING_H_
6#define _DOFINDEXING_H_
7
8#include "../include/include.h"
9
10class DofIndexing{
11
12 public:
13
14 /*sizes: */
15 int gsize; //number of dofs for a node
16 int fsize; //number of dofs solver for
17 int ssize; //number of constrained dofs
18
19 /*partitioning: */
20 int clone; //this node is replicated from another one
21
22 /*boundary conditions sets: */
23 bool* f_set; //is dof on f-set (on which we solve)
24 bool* s_set; //is dof on s-set (on which boundary conditions -dirichlet- are applied)
25 IssmDouble* svalues; //list of constraint values. size g_size, for ease of use.
26
27 /*types of dofs: */
28 int* doftype; //approximation type of the dofs (used only for coupling), size g_size
29
30 /*list of degrees of freedom: */
31 int* gdoflist; //dof list in g_set
32 int* fdoflist; //dof list in f_set
33 int* sdoflist; //dof list in s_set
34
35
36 /*DofIndexing constructors, destructors {{{1*/
37 DofIndexing();
38 DofIndexing(int g_size);
39 void Init(int g_size,int* doftype);
40 void InitSet(int setenum);
41 DofIndexing(DofIndexing* properties);
42 ~DofIndexing();
43 /*}}}*/
44 /*Object like functionality: {{{1*/
45 void Echo(void);
46 void DeepEcho(void);
47 void copy(DofIndexing* properties);
48 /*}}}*/
49 /*DofIndexing management: {{{1*/
50 DofIndexing* Spawn(int* indices, int numindices);
51 /*}}}*/
52
53};
54#endif //ifndef _DOFINDEXING_H_
Note: See TracBrowser for help on using the repository browser.