OOFEM 3.0
Loading...
Searching...
No Matches
nodalload.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 - 2025 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 nodalload_h
36#define nodalload_h
37
38#include "load.h"
39#include "bcgeomtype.h"
40#include "valuemodetype.h"
41
42namespace oofem {
44
45#define _IFT_NodalLoad_Name "nodalload"
46#define _IFT_NodalLoad_cstype "cstype"
48
49class TimeStep;
50
68{
69protected:
76
77public:
83 NodalLoad(int n, Domain * d) : Load(n, d) { }
84
85 const char *giveInputRecordName() const override { return _IFT_NodalLoad_Name; }
86 void computeValueAt(FloatArray &answer, TimeStep *tStep, const FloatArray &coords, ValueModeType mode) override
87 { computeComponentArrayAt(answer, tStep, mode); }
89
90 void initializeFrom(InputRecord &ir) override;
91 void giveInputRecord(DynamicInputRecord &input) override;
92 const char *giveClassName() const override { return "NodalLoad"; }
93 bcGeomType giveBCGeoType() const override { return NodalLoadBGT; }
94
95 void saveContext(DataStream &stream, ContextMode mode) override;
96 void restoreContext(DataStream &stream, ContextMode mode) override;
97};
98} // end namespace oofem
99#endif // nodalload_h
Load(int n, Domain *d)
Definition load.C:44
virtual void computeComponentArrayAt(FloatArray &answer, TimeStep *tStep, ValueModeType mode)
Definition load.C:84
CoordSystType
Definition load.h:70
CoordSystType coordSystemType
Definition nodalload.h:75
NodalLoad(int n, Domain *d)
Definition nodalload.h:83
const char * giveInputRecordName() const override
Definition nodalload.h:85
void computeValueAt(FloatArray &answer, TimeStep *tStep, const FloatArray &coords, ValueModeType mode) override
Definition nodalload.h:86
const char * giveClassName() const override
Definition nodalload.h:92
CoordSystType giveCoordSystMode() override
Definition nodalload.h:88
bcGeomType giveBCGeoType() const override
Definition nodalload.h:93
long ContextMode
Definition contextmode.h:43
bcGeomType
Type representing the geometric character of loading.
Definition bcgeomtype.h:40
@ NodalLoadBGT
Concentrated nodal load.
Definition bcgeomtype.h:42
#define _IFT_NodalLoad_Name
Definition nodalload.h:45
#define OOFEM_EXPORT
Definition oofemcfg.h:7

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011