Loading [MathJax]/extensions/MathMenu.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-77-g6ae792d6 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
▼
NumLib
►
Assembler
►
DOF
►
Extrapolation
▼
Fem
►
CoordinatesMapping
►
FiniteElement
►
Integration
▼
ShapeFunction
►
ShapeHex20-impl.h
►
ShapeHex20.h
ShapeHex8-impl.h
►
ShapeHex8.h
ShapeLine2-impl.h
►
ShapeLine2.h
ShapeLine3-impl.h
►
ShapeLine3.h
ShapePoint1-impl.h
►
ShapePoint1.h
ShapePrism15-impl.h
►
ShapePrism15.h
ShapePrism6-impl.h
►
ShapePrism6.h
ShapePyra13-impl.h
►
ShapePyra13.h
ShapePyra5-impl.h
►
ShapePyra5.h
ShapeQuad4-impl.h
►
ShapeQuad4.h
ShapeQuad8-impl.h
►
ShapeQuad8.h
ShapeQuad9-impl.h
►
ShapeQuad9.h
ShapeStaticConsts.cpp
ShapeTet10-impl.h
►
ShapeTet10.h
ShapeTet4-impl.h
►
ShapeTet4.h
ShapeTri3-impl.h
►
ShapeTri3.h
ShapeTri6-impl.h
►
ShapeTri6.h
►
AverageGradShapeFunction.h
►
InitShapeMatrices.h
►
Interpolation.h
►
ReferenceElement.h
►
ShapeMatrixCache.cpp
►
ShapeMatrixCache.h
►
ShapeMatrixPolicy.h
►
NumericalStability
►
ODESolver
►
StaggeredCoupling
►
TimeStepping
►
CreateNewtonRaphsonSolverParameters.cpp
►
CreateNewtonRaphsonSolverParameters.h
►
Exceptions.h
►
IndexValueVector.h
►
NewtonRaphson.h
►
NumericalDifferentiation.h
►
NumericsConfig.h
►
ParameterLib
►
ProcessLib
►
File Members
ShapeTri6-impl.h
Go to the documentation of this file.
1
11
namespace
NumLib
12
{
13
template
<
class
T_X,
class
T_N>
14
void
ShapeTri6::computeShapeFunction
(
const
T_X& r, T_N&
N
)
15
{
16
N
[0] = 2. * (1. - r[0] - r[1]) * (0.5 - r[0] - r[1]);
17
N
[1] = r[0] * (2. * r[0] - 1.);
18
N
[2] = r[1] * (2. * r[1] - 1.);
19
N
[3] = 4. * r[0] * (1. - r[0] - r[1]);
20
N
[4] = 4. * r[0] * r[1];
21
N
[5] = 4. * r[1] * (1. - r[0] - r[1]);
22
}
14
void
ShapeTri6::computeShapeFunction
(
const
T_X& r, T_N&
N
) {
…
}
23
24
template
<
class
T_X,
class
T_N>
25
void
ShapeTri6::computeGradShapeFunction
(
const
T_X& r, T_N& dN)
26
{
27
dN[0] = 4. * (r[0] + r[1]) - 3.;
// dN1/dL1
28
dN[6] = dN[0];
// dN1/dL2
29
30
dN[1] = 4. * r[0] - 1.;
// dN2/dL1
31
dN[7] = 0.;
// dN2/dL2
32
33
dN[2] = 0.;
// dN3/dL1
34
dN[8] = 4. * r[1] - 1.;
// dN3/dL2
35
36
dN[3] = 4. * (1 - 2. * r[0] - r[1]);
// dN4/dL1
37
dN[9] = -4. * r[0];
// dN4/dL2
38
39
dN[4] = 4. * r[1];
// dN5/dL1
40
dN[10] = -dN[9];
// dN5/dL2
41
42
dN[5] = -dN[4];
// dN6/dL1
43
dN[11] = 4. * (1 - r[0] - 2. * r[1]);
// dN6/dL2
44
}
25
void
ShapeTri6::computeGradShapeFunction
(
const
T_X& r, T_N& dN) {
…
}
45
46
}
// namespace NumLib
NumLib::ShapeTri6::computeGradShapeFunction
static void computeGradShapeFunction(const T_X &r, T_N &dN)
Definition
ShapeTri6-impl.h:25
NumLib::ShapeTri6::computeShapeFunction
static void computeShapeFunction(const T_X &r, T_N &N)
Definition
ShapeTri6-impl.h:14
NumLib
Definition
ProjectData.h:46
NumLib::ShapeMatrixType::N
@ N
calculates N
NumLib
Fem
ShapeFunction
ShapeTri6-impl.h
Generated by
1.12.0