Debian Codegraph @

packages/nox/test/epetra/LOCA_Brusselator_xyzt/Basis.H

raw
1 // @HEADER
2 // *****************************************************************************
3 // LOCA: Library of Continuation Algorithms Package
4 //
5 // Copyright 2001-2005 NTESS and the LOCA contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9
10 // 1D Linear basis function for finite element method
11
12 #ifndef _NOX_EXAMPLE_EPETRA_LINEAR_BASIS_H
13 #define _NOX_EXAMPLE_EPETRA_LINEAR_BASIS_H
14
15 class Basis {
16
17 public:
18
19 // Constructor
20 Basis(int numSpec);
21
22 // Destructor
23 ~Basis();
24
25 // Calculates the values of u and x at the specified gauss point
26 void getBasis(int gp, double *x, double *u, double *udot);
27
28 private:
29 // Private to prohibit copying
30 Basis(const Basis&);
31 Basis& operator=(const Basis&);
32
33 public:
34 int NumSpecies;
35 // Variables that are calculated at the gauss point
36 double *phi, *dphide;
37 double xx, eta, wt;
38 double *uu, *duu;
39 double *uudot, *duudot;
40 double dx;
41 };
42
43 #endif