OOFEM 3.0
Loading...
Searching...
No Matches
qcnode.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 qcnode_h
36#define qcnode_h
37
38#include "node.h"
39
41
42#define _IFT_qcNode_Name "qcnode"
44
45namespace oofem {
46
47class ParamKey;
48
65class OOFEM_EXPORT qcNode : public Node
66{
67protected:
74#ifdef __OOFEG
77#endif
78
82
83public:
89 qcNode(int n, Domain * aDomain);
91 virtual ~qcNode(void) { }
92
93 void initializeFrom(InputRecord &ir, int priority) override;
94 void postInitialize() override;
95 void postInitializeAsHangingNode();
96 int checkConsistency() override;
97 bool isDofTypeCompatible(dofType type) const override { return ( type == DT_master || type == DT_slave ); }
98
99 virtual bool initializeAsRepnode();
100 virtual void setAsRepnode();
101 virtual void setAsHanging();
102 int giveQcNodeType() override { return this->qcNodeTypeLabel; }
103 virtual int giveMasterElementNumber() { return this->masterElement; }
104
105 void printOutputAt(FILE *stream, TimeStep *tStep) override;
106
107 const char *giveClassName() const override { return "qcNode"; }
108 const char *giveInputRecordName() const override { return _IFT_qcNode_Name; }
109};
110} // end namespace oofem
111#endif // qcnode_h
Node(int n, Domain *aDomain)
Definition node.C:73
const char * giveInputRecordName() const override
Definition qcnode.h:108
static ParamKey IPK_qcNode_masterElement
Static input field keys.
Definition qcnode.h:80
const char * giveClassName() const override
Definition qcnode.h:107
virtual ~qcNode(void)
Destructor.
Definition qcnode.h:91
int qcNodeTypeLabel
Type of qcNode (0 deactive, 1 master, 2 hanging).
Definition qcnode.h:73
int giveQcNodeType() override
Definition qcnode.h:102
bool initialized
Flag whether node is fully initialized already.
Definition qcnode.h:76
virtual int giveMasterElementNumber()
Definition qcnode.h:103
int masterRegion
Region of the master element (used for automatic detection).
Definition qcnode.h:71
qcNode(int n, Domain *aDomain)
Definition qcnode.C:58
int masterElement
Number of the master element.
Definition qcnode.h:69
static ParamKey IPK_qcNode_masterRegion
Definition qcnode.h:81
bool isDofTypeCompatible(dofType type) const override
Returns true if dof of given type is allowed to be associated to receiver.
Definition qcnode.h:97
dofType
Dof Type, determines the type of DOF created.
Definition doftype.h:48
#define OOFEM_EXPORT
Definition oofemcfg.h:7
#define _IFT_qcNode_Name
Definition qcnode.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