ParMooN
 All Classes Functions Variables Friends Pages
FEVectFunct1D.h
1 // =======================================================================
2 // @(#)FEVectFunct2D.h
3 //
4 // Class: TFEVectFunct1D
5 // Purpose: a function from a finite element space in 1D
6 //
7 // Author: Sashikumaar Ganesan (26.09.09)
8 //
9 // History: start of implementation 26.09.09 (Sashikumaar Ganesan)
10 //
11 //
12 // =======================================================================
13 
14 #ifndef __FEVECTFUNCT1D__
15 #define __FEVECTFUNCT1D__
16 
17 #include <FEFunction1D.h>
18 
21 {
22  protected:
25 
26  public:
28  TFEVectFunct1D(TFESpace1D *fespace1D, char *name, char *description,
29  double *values, int length, int n_components);
30 
33  { return N_Components; }
34 
37  {
39  Values+i*Length, Length);
40  }
41 
43 // void GridToData();
44 
46 // void DataToGrid();
47 
48 
49 
50 };
51 
52 #endif
TFEFunction1D(TFESpace1D *fespace1D, char *name, char *description, double *values, int length)
Definition: FEFunction1D.C:24
double * Values
Definition: FEFunction1D.h:34
Definition: FESpace1D.h:48
char * Description
Definition: FEFunction1D.h:28
int Length
Definition: FEFunction1D.h:37
char * Name
Definition: FEFunction1D.h:25
TFESpace1D * FESpace1D
Definition: FEFunction1D.h:31
Definition: FEVectFunct1D.h:20
int GetN_Components()
Definition: FEVectFunct1D.h:32
TFEVectFunct1D(TFESpace1D *fespace1D, char *name, char *description, double *values, int length, int n_components)
Definition: FEVectFunct1D.C:17
int N_Components
Definition: FEVectFunct1D.h:24
TFEFunction1D * GetComponent(int i)
Definition: FEVectFunct1D.h:36
Definition: FEFunction1D.h:21