OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
quasicontinuumnumberingscheme.h
Go to the documentation of this file.
1 /*
2  *
3  * ##### ##### ###### ###### ### ###
4  * ## ## ## ## ## ## ## ### ##
5  * ## ## ## ## #### #### ## # ##
6  * ## ## ## ## ## ## ## ##
7  * ## ## ## ## ## ## ## ##
8  * ##### ##### ## ###### ## ##
9  *
10  *
11  * OOFEM : Object Oriented Finite Element Code
12  *
13  * Copyright (C) 1993 - 2013 Borek Patzak
14  *
15  *
16  *
17  * Czech Technical University, Faculty of Civil Engineering,
18  * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19  *
20  * This library is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU Lesser General Public
22  * License as published by the Free Software Foundation; either
23  * version 2.1 of the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28  * Lesser General Public License for more details.
29  *
30  * You should have received a copy of the GNU Lesser General Public
31  * License along with this library; if not, write to the Free Software
32  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33  */
34 
35 #ifndef quasicontinuumnumberingscheme_h
36 #define quasicontinuumnumberingscheme_h
37 
38 #include "unknownnumberingscheme.h"
39 #include "dof.h"
40 #include "domain.h"
41 #include "dofmanager.h"
42 
43 namespace oofem {
50 {
51 protected:
58  int neq;
60  int pres_neq;
64  std::map<int, std::map<int,int>> *equationMap;
65 
66 
67 public:
72 
76  virtual void init(Domain *domain, std::vector<bool> activatedNodeList, TimeStep *tStep);
77  virtual bool isDefault() const { return true; }
78  virtual int giveDofEquationNumber(Dof *dof) const;
79  virtual int giveRequiredNumberOfDomainEquation() const;
80 
82  virtual int giveTotalNumberOfEquations() const;
83 
85  virtual int giveTotalNumberOfPrescribedEquations() const;
86 
88  virtual void reset();
90 };
91 
92 } // end namespace oofem
93 #endif // quasicontinuumnumberingscheme_h
Class and object Domain.
Definition: domain.h:115
int pres_neq
Last given number of prescribed equation.
Class implementing an array of integers.
Definition: intarray.h:61
std::map< int, std::map< int, int > > * equationMap
map form dofid to equation number
int neq
Last given number of equation.
Abstract base class allowing to control the way, how equations are assigned to individual DOFs...
virtual int giveRequiredNumberOfDomainEquation() const
Returns required number of domain equation.
virtual int giveDofEquationNumber(Dof *dof) const
Returns the equation number for corresponding DOF.
virtual int giveTotalNumberOfPrescribedEquations() const
Returns total number of prescribed equations.
virtual void init()
Initializes the receiver, if necessary.
IntArray nodalEquationNumbers
Container storing particular equation numbers for each node.
virtual int giveTotalNumberOfEquations() const
Returns total number of equations.
virtual bool isDefault() const
Returns true, if receiver is the default engngModel equation numbering scheme; This is useful for som...
bool isInitialized
Flag controlling wether the numbering has been initialized or not.
Numbering scheme that takes into account only list of selected nodes.
virtual void reset()
Resets the numbering in order to start numbering again from 1.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Abstract class Dof represents Degree Of Freedom in finite element mesh.
Definition: dof.h:93
Class representing solution step.
Definition: timestep.h:80

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:31 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011