Loading [MathJax]/extensions/tex2jax.js
OGS
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
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
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Typedefs
b
c
e
f
h
j
k
l
m
n
p
q
r
s
t
v
w
x
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
h
i
k
l
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
x
Variables
Typedefs
Enumerations
Macros
a
b
c
e
g
h
i
l
m
n
o
p
r
s
t
v
w
x
ShapeTri3-impl.h
Go to the documentation of this file.
1
15
namespace
NumLib
16
{
17
template
<
class
T_X,
class
T_N>
18
void
ShapeTri3::computeShapeFunction
(
const
T_X&
r
, T_N& N)
19
{
20
N
[0] = 1. -
r
[0] -
r
[1];
21
N
[1] =
r
[0];
22
N
[2] =
r
[1];
23
}
24
25
template
<
class
T_X,
class
T_N>
26
void
ShapeTri3::computeGradShapeFunction
(
const
T_X&
/*r*/
, T_N& dN)
27
{
28
// dN/dr
29
dN[0] = -1.0;
30
dN[1] = 1.0;
31
dN[2] = 0.0;
32
// dN/ds
33
dN[3] = -1.0;
34
dN[4] = 0.0;
35
dN[5] = 1.0;
36
}
37
38
}
// namespace NumLib
NumLib::ShapeTri3::computeShapeFunction
static void computeShapeFunction(const T_X &r, T_N &N)
Definition:
ShapeTri3-impl.h:18
NumLib::ShapeTri3::computeGradShapeFunction
static void computeGradShapeFunction(const T_X &r, T_N &dN)
Definition:
ShapeTri3-impl.h:26
MathLib::r
static const double r
Definition:
GaussLegendreTet.cpp:64
NumLib
Definition:
ProjectData.h:35
NumLib::ShapeMatrixType::N
@ N
calculates N
NumLib
Fem
ShapeFunction
ShapeTri3-impl.h
Generated by
1.9.1