OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
emptycs.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 emptycs_h
36 #define emptycs_h
37 
38 #include "crosssection.h"
39 
40 #define _IFT_EmptyCS_Name "emptycs"
41 
42 namespace oofem {
46 class OOFEM_EXPORT EmptyCS : public CrossSection
47 {
48 public:
54  EmptyCS(int n, Domain * d);
56  virtual ~EmptyCS();
57 
58  virtual Material *giveMaterial(IntegrationPoint *ip);
59  virtual int packUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *ip) { return 1; }
60  virtual int unpackAndUpdateUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *ip) { return 1; }
61  virtual int estimatePackSize(DataStream &buff, GaussPoint *ip) { return 0; }
62 
63  virtual const char *giveClassName() const { return "EmptyCS"; }
64  virtual const char *giveInputRecordName() const { return _IFT_EmptyCS_Name; }
65 };
66 } // end namespace oofem
67 #endif // emptycs_h
Class and object Domain.
Definition: domain.h:115
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Definition: datastream.h:54
virtual const char * giveInputRecordName() const
Definition: emptycs.h:64
Base abstract class representing cross section in finite element mesh.
Definition: crosssection.h:107
virtual int unpackAndUpdateUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *ip)
Unpack and updates all necessary data of given integration point (according to element parallel_mode)...
Definition: emptycs.h:60
Abstract base class for all material models.
Definition: material.h:95
virtual int estimatePackSize(DataStream &buff, GaussPoint *ip)
Estimates the necessary pack size to hold all packed data of receiver.
Definition: emptycs.h:61
Empty cross section model which doesn't have any material models.
Definition: emptycs.h:46
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveClassName() const
Definition: emptycs.h:63
Class representing integration point in finite element program.
Definition: gausspoint.h:93
#define _IFT_EmptyCS_Name
Definition: emptycs.h:40
virtual int packUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *ip)
Pack all necessary data of integration point (according to element parallel_mode) into given communic...
Definition: emptycs.h:59
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:28 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011