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
RevLine 
[3417]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
[5772]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
[3417]16
17 /*partitioning: */
[3463]18 int clone; //this node is replicated from another one
[3417]19
20 /*boundary conditions sets: */
[5772]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.
[3417]24
[5772]25 /*types of dofs: */
26 int* doftype; //approximation type of the dofs (used only for coupling), size g_size
27
[3417]28 /*list of degrees of freedom: */
[5772]29 int* gdoflist; //dof list in g_set
30 int* fdoflist; //dof list in f_set
31 int* sdoflist; //dof list in s_set
[3417]32
[5772]33
[4248]34 /*DofIndexing constructors, destructors {{{1*/
[3417]35 DofIndexing();
[5772]36 DofIndexing(int g_size);
37 void Init(int g_size,int* doftype);
38 void InitSet(int setenum);
[3417]39 DofIndexing(DofIndexing* properties);
40 ~DofIndexing();
[4248]41 /*}}}*/
42 /*Object like functionality: {{{1*/
43 void Echo(void);
44 void DeepEcho(void);
[3417]45 void copy(DofIndexing* properties);
[4248]46 /*}}}*/
47 /*DofIndexing management: {{{1*/
[3417]48 DofIndexing* Spawn(int* indices, int numindices);
[4248]49 /*}}}*/
[3417]50
51};
52#endif //ifndef _DOFINDEXING_H_
Note: See TracBrowser for help on using the repository browser.