Debian Codegraph @

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

raw
1 // @HEADER
2 // *****************************************************************************
3 // NOX: An Object-Oriented Nonlinear Solver Package
4 //
5 // Copyright 2002 NTESS and the NOX 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 public:
29 // Variables that are calculated at the gauss point
30 double *phi, *dphide;
31 double uu, xx, duu, eta, wt;
32 double dx;
33 };
34
35 #endif