Alpine3D  Alpine3D-3.2.0
Cell.h
Go to the documentation of this file.
1 /***********************************************************************************/
2 /* Copyright 2009-2015 WSL Institute for Snow and Avalanche Research SLF-DAVOS */
3 /***********************************************************************************/
4 /* This file is part of Alpine3D.
5  Alpine3D is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  Alpine3D is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with Alpine3D. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #ifndef CELL_H
19 #define CELL_H
20 
21 #include <iostream>
22 #include <cmath>
23 #include <string>
24 #include <cstdlib>
25 
26 class Cell
27 {
28  public:
29  Cell();
30 
31  void classifyNodes(int* node,
32  int* nDofNodes,
33  int* nBoundaryNodes,
34  const std::string& type,
35  int number) const;
36 
37  private:
38  void initialize();
39 
40  int FACE[6][4];
41  int NODE[6][4];
42  int CORNER[8];
43  int BAR[12][2];
44 };
45 
46 #endif
Definition: Cell.h:26
void classifyNodes(int *node, int *nDofNodes, int *nBoundaryNodes, const std::string &type, int number) const
Definition: Cell.cc:85
Cell()
Definition: Cell.cc:20