OOFEM 3.0
Loading...
Searching...
No Matches
latticedirichletcouplingnode.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 program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2 of the License, or
23 * (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
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 */
34
35#ifndef latticedirichletcouplingnode_h
36#define latticedirichletcouplingnode_h
37
38#include "node.h"
39#include "domain.h"
40#include "floatarray.h"
41
42
44
45#define _IFT_LatticeDirichletCouplingNode_Name "latticedirichletcouplingnode"
46#define _IFT_LatticeDirichletCouplingNode_couplingelements "couplingelements"
48
49namespace oofem {
50class Node;
51class Dof;
52class NodalLoad;
53class TimeStep;
54class IntArray;
55class ParamKey;
56
62
64{
65protected:
67 IntArray couplingElements; //IntArray used here cause the element numbers are all whole numbers (integers) instead of using a float array .
70
71
73public:
74
75 LatticeDirichletCouplingNode(int n, Domain *aDomain); // constructor
76
77 ~LatticeDirichletCouplingNode(); // destructor
78
79 const char *giveClassName() const override { return "LatticeDirichletCouplingNode"; }
80 void initializeFrom(InputRecord &ir, int priority) override;
81 void postInitialize() override;
82
84
86
87 virtual void giveUnknownVector(FloatArray &answer, const IntArray &dofMask, ValueModeType mode, TimeStep *stepN, bool padding = false);
88
89 double giveUnknown(ValueModeType mode, TimeStep *stepN);
90
92
93 void printOutputAt(FILE *stream, TimeStep *stepN) override;
94
95 void printYourself() override;
96};
97} // end namespace oofem
98
99#endif // latticedirichletcouplingnode_h
double giveUnknown(ValueModeType mode, TimeStep *stepN)
void initializeFrom(InputRecord &ir, int priority) override
IntArray couplingElements
Array storing nodal coordinates.
void printOutputAt(FILE *stream, TimeStep *stepN) override
virtual void giveUnknownVector(FloatArray &answer, const IntArray &dofMask, ValueModeType mode, TimeStep *stepN, bool padding=false)
void printYourself() override
Prints receiver state on stdout. Useful for debugging.
void postInitialize() override
Performs post initialization steps. Called after all components are created and initialized.
Node(int n, Domain *aDomain)
Definition node.C:73

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