OOFEM 3.0
Loading...
Searching...
No Matches
gaussintegrationrule.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 gaussintegrationrule_h
36#define gaussintegrationrule_h
37
38#include "integrationrule.h"
39
40#define _IFT_GaussIntegrationRule_Name "gauss"
41
42namespace oofem {
43class Element;
44
60{
61public:
70 GaussIntegrationRule(int n, Element * e, int startIndx, int endIndx, bool dynamic = false);
71 GaussIntegrationRule(int n, Element * e);
73 virtual ~GaussIntegrationRule();
74
75 const char *giveClassName() const override { return "GaussIntegrationRule"; }
77 void initializeFrom(InputRecord &ir) override { }
78
79 int getRequiredNumberOfIntegrationPoints(integrationDomain dType, int approxOrder) override;
80
81 int SetUpPointsOnLine(int nPoints, MaterialMode mode) override;
82 int SetUpPointsOnTriangle(int nPoints, MaterialMode mode) override;
83 int SetUpPointsOnSquare(int nPoints, MaterialMode mode) override;
84 int SetUpPointsOn3dDegShell(int nPointsXY, int nPointsZ, MaterialMode mode) override;
85 int SetUpPointsOn3dDegShellLayers(int nPointsXY, int nPointsZ, MaterialMode mode, const FloatArray &layerThickness) override;
86 int SetUpPointsOnCubeLayers(int nPoints1, int nPoints2, int nPointsDepth, MaterialMode mode, const FloatArray &layerThickness) override;
87 int SetUpPointsOnCube(int nPoints, MaterialMode mode) override;
88 int SetUpPointsOnTetrahedra(int nPoints, MaterialMode mode) override;
89 int SetUpPointsOnWedge(int nPointsTri, int nPointsDepth, MaterialMode mode) override;
90 int SetUpPointsOnWedgeLayers(int nPointsTri, int nPointsDepth, MaterialMode mode, const FloatArray &layerThickness) override;
91 int SetUpPointsOn2DEmbeddedLine(int nPoints, MaterialMode mode, const FloatArray &coord0, const FloatArray &coord1) override;
92
93 static void giveTetCoordsAndWeights(int nPoints, FloatArray &coords_xi1, FloatArray &coords_xi2, FloatArray &coords_xi3, FloatArray &weights);
94 static void giveTriCoordsAndWeights(int nPoints, FloatArray &coords_xi1, FloatArray &coords_xi2, FloatArray &weights);
95 static void giveLineCoordsAndWeights(int nPoints, FloatArray &coords_xi, FloatArray &weights);
96};
97} // end namespace oofem
98#endif // gaussintegrationrule_h
void initializeFrom(InputRecord &ir) override
GaussIntegrationRule(int n, Element *e, int startIndx, int endIndx, bool dynamic=false)
const char * giveClassName() const override
IntegrationRuleType giveIntegrationRuleType() const override
IntegrationRule(int n, Element *e, int startIndx, int endIndx, bool dynamic)
#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