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

Last change on this file since 12014 was 12014, checked in by Eric.Larour, 13 years ago

Removing some unused SERIAL code

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