OOFEM 3.0
Loading...
Searching...
No Matches
line2boundaryelement.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 line2boundaryelement_h
36#define line2boundaryelement_h
37
38#include "fmelement.h"
39#include "spatiallocalizer.h"
40#include "floatarray.h"
41
42#define _IFT_Line2BoundaryElement_Name "line2boundary"
43
44namespace oofem {
45class FEI2dLineQuad;
46
53public FMElement,
55{
56protected:
58
59public:
65 Line2BoundaryElement(int n, Domain * d);
66
67 void giveCharacteristicVector(FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep) override { answer.clear(); }
68 void giveCharacteristicMatrix(FloatMatrix &answer, CharType type, TimeStep *tStep) override { answer.clear(); }
69
70 void giveDofManDofIDMask(int i, IntArray &nodeDofIDMask) const override;
71
72 FEInterpolation *giveInterpolation() const override;
73 int computeNumberOfDofs() override { return 6; }
74
75 const char *giveClassName() const override { return "Line2BoundaryElement"; }
76 const char *giveInputRecordName() const override { return _IFT_Line2BoundaryElement_Name; }
77 Element_Geometry_Type giveGeometryType() const override {return EGT_line_2;}
78
79 // Interfaces
81
82 void computeField(ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer) override;
83};
84}
85
86#endif // line2boundaryelement_h
FMElement(int n, Domain *aDomain)
Definition fmelement.C:38
*Sets size of receiver to be an empty matrix It will have zero rows and zero columns size void clear()
Interface * giveInterface(InterfaceType it) override
void giveCharacteristicMatrix(FloatMatrix &answer, CharType type, TimeStep *tStep) override
void computeField(ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer) override
void giveCharacteristicVector(FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep) override
const char * giveClassName() const override
const char * giveInputRecordName() const override
void giveDofManDofIDMask(int i, IntArray &nodeDofIDMask) const override
Element_Geometry_Type giveGeometryType() const override
FEInterpolation * giveInterpolation() const override
SpatialLocalizerInterface(Element *element)
#define _IFT_Line2BoundaryElement_Name

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