Alpine3D

Alpine3D Svn Source Tree

Root/trunk/alpine3d/snowdrift/Cell.h

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
26class Cell
27{
28public:
29Cell();
30
31void classifyNodes(int* node,
32int* nDofNodes,
33int* nBoundaryNodes,
34const std::string& type,
35int number) const;
36
37private:
38void initialize();
39
40int FACE[6][4];
41int NODE[6][4];
42int CORNER[8];
43int BAR[12][2];
44};
45
46#endif

Archive Download this file

Revision: HEAD