Debian Codegraph @

packages/nox/test/epetra/LOCA_TestProblems/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();
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);
27
28 private:
29 // Private to prohibit copying
30 Basis(const Basis&);
31 Basis& operator=(const Basis&);
32
33 public:
34 // Variables that are calculated at the gauss point
35 double *phi, *dphide;
36 double uu, xx, duu, eta, wt;
37 double dx;
38 };
39
40 #endif