MFEM  v3.3
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
stable3d.hpp
Go to the documentation of this file.
1 // Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at
2 // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights
3 // reserved. See file COPYRIGHT for details.
4 //
5 // This file is part of the MFEM library. For more information and source code
6 // availability see http://mfem.org.
7 //
8 // MFEM is free software; you can redistribute it and/or modify it under the
9 // terms of the GNU Lesser General Public License (as published by the Free
10 // Software Foundation) version 2.1 dated February 1999.
11 
12 #ifndef MFEM_STABLE3D
13 #define MFEM_STABLE3D
14 
15 #include "mem_alloc.hpp"
16 
17 namespace mfem
18 {
19 
21 {
22 public:
25 };
26 
27 /// Symmetric 3D Table
28 class STable3D
29 {
30 private:
31  int Size, NElem;
32  STable3DNode **Rows;
33 
34 #ifdef MFEM_USE_MEMALLOC
36 #endif
37 
38 public:
39  explicit STable3D (int nr);
40 
41  int Push (int r, int c, int f);
42 
43  int operator() (int r, int c, int f) const;
44 
45  int Index (int r, int c, int f) const;
46 
47  int Push4 (int r, int c, int f, int t);
48 
49  int operator() (int r, int c, int f, int t) const;
50 
51  int NumberOfElements() { return NElem; }
52 
53  ~STable3D ();
54 };
55 
56 }
57 
58 #endif
int Push(int r, int c, int f)
Definition: stable3d.cpp:65
int Index(int r, int c, int f) const
Definition: stable3d.cpp:118
int operator()(int r, int c, int f) const
Definition: stable3d.cpp:98
Symmetric 3D Table.
Definition: stable3d.hpp:28
STable3D(int nr)
Definition: stable3d.cpp:22
int Push4(int r, int c, int f, int t)
Definition: stable3d.cpp:136
STable3DNode * Prev
Definition: stable3d.hpp:23
int NumberOfElements()
Definition: stable3d.hpp:51