OOFEM 3.0
Loading...
Searching...
No Matches
slavenode.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 slavenode_h
36#define slavenode_h
37
38#include "node.h"
39
41
42#define _IFT_SlaveNode_Name "slavenode"
44
45namespace oofem {
46
47class ParamKey;
58{
59protected:
64
67
68public:
74 SlaveNode(int n, Domain * aDomain) : Node(n, aDomain) { }
76 virtual ~SlaveNode(void) { }
77
78 void initializeFrom(InputRecord &ir, int priority) override;
79 void postInitialize() override;
80 bool isDofTypeCompatible(dofType type) const override { return ( type == DT_master || type == DT_slave ); }
81 void updateLocalNumbering(EntityRenumberingFunctor &f) override;
82
83 const char *giveClassName() const override { return "SlaveNode"; }
84 const char *giveInputRecordName() const override { return _IFT_SlaveNode_Name; }
85};
86} // end namespace oofem
87#endif // slavenode_h
Node(int n, Domain *aDomain)
Definition node.C:73
bool isDofTypeCompatible(dofType type) const override
Returns true if dof of given type is allowed to be associated to receiver.
Definition slavenode.h:80
const char * giveClassName() const override
Definition slavenode.h:83
FloatArray masterWeights
Common dof weights for each master node.
Definition slavenode.h:63
static ParamKey IPK_SlaveNode_masterDofManagers
Definition slavenode.h:65
const char * giveInputRecordName() const override
Definition slavenode.h:84
static ParamKey IPK_SlaveNode_weights
Definition slavenode.h:66
IntArray masterDofManagers
Master nodes for all dofs.
Definition slavenode.h:61
virtual ~SlaveNode(void)
Destructor.
Definition slavenode.h:76
SlaveNode(int n, Domain *aDomain)
Definition slavenode.h:74
dofType
Dof Type, determines the type of DOF created.
Definition doftype.h:48
#define OOFEM_EXPORT
Definition oofemcfg.h:7
#define _IFT_SlaveNode_Name
Definition slavenode.h:42

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