OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
mmashapefunctprojection.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 mmashapefunctprojection_h
36 #define mmashapefunctprojection_h
37 
39 #include "nodalrecoverymodel.h"
40 #include "interface.h"
41 
42 #include <vector>
43 #include <memory>
44 
45 #define _IFT_MMAShapeFunctProjection_Name "shapefun"
46 
47 namespace oofem {
48 class Domain;
49 class Element;
50 class TimeStep;
51 
73 {
74 protected:
76  std :: vector< std :: unique_ptr< NodalRecoveryModel > > smootherList;
83 
84 public:
88  virtual ~MMAShapeFunctProjection();
89 
91  MMAShapeFunctProjection &operator=(const MMAShapeFunctProjection &) = delete;
92 
93  virtual void __init(Domain *dold, IntArray &type, const FloatArray &coords, Set &sourceElemSet, TimeStep *tStep, bool iCohesiveZoneGP = false);
94 
95  virtual void finish(TimeStep *tStep);
96 
97  virtual int mapVariable(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
98 
99  virtual int __mapVariable(FloatArray &answer, const FloatArray &coords, InternalStateType type, TimeStep *tStep);
100 
101  virtual int mapStatus(MaterialStatus &oStatus) const;
102 
103  void interpolateIntVarAt(FloatArray &answer, Element *elem, const FloatArray &lcoords, std :: vector< FloatArray > &list, InternalStateType type, TimeStep *tStep) const;
104 
105  virtual const char *giveClassName() const { return "MMAShapeFunctProjectionInterface"; }
106 };
107 } // end namespace oofem
108 #endif // mmashapefunctprojection_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
Class and object Domain.
Definition: domain.h:115
std::vector< std::unique_ptr< NodalRecoveryModel > > smootherList
Smoothers.
long StateCounterType
StateCounterType type used to indicate solution state.
IntArray intVarTypes
Internal variables in list.
Abstract base class for all finite elements.
Definition: element.h:145
The class representing the general material model mapping algorithm.
Class implementing an array of integers.
Definition: intarray.h:61
Set of elements, boundaries, edges and/or nodes.
Definition: set.h:66
Abstract base class representing a material status information.
Definition: matstatus.h:84
Class representing vector of real numbers.
Definition: floatarray.h:82
The class implements the transfer of state variables based on projection using shape functions...
StateCounterType stateCounter
Solution state counter.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual const char * giveClassName() const
Returns class name of the receiver.

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:30 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011