Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jennifer Ryan
Nektar
Commits
51d2d569
Commit
51d2d569
authored
Feb 08, 2017
by
Michael Turner
Browse files
angles
parent
74077385
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
library/NekMeshUtils/MeshElements/Node.h
View file @
51d2d569
...
...
@@ -360,7 +360,7 @@ public:
}
NekDouble
Angle
(
Array
<
OneD
,
NekDouble
>
locA
,
Array
<
OneD
,
NekDouble
>
locB
,
Array
<
OneD
,
NekDouble
>
N
,
int
sid
)
Array
<
OneD
,
NekDouble
>
N
)
{
// calculates the angle between this node to a to this node to b
// Uses the CAD surface to orientate the angle
...
...
@@ -381,10 +381,6 @@ public:
ang
/=
sqrt
(
A
[
0
]
*
A
[
0
]
+
A
[
1
]
*
A
[
1
]
+
A
[
2
]
*
A
[
2
]);
ang
/=
sqrt
(
B
[
0
]
*
B
[
0
]
+
B
[
1
]
*
B
[
1
]
+
B
[
2
]
*
B
[
2
]);
std
::
map
<
int
,
std
::
pair
<
CADSurfSharedPtr
,
Array
<
OneD
,
NekDouble
>
>
>::
iterator
it
;
it
=
CADSurfList
.
find
(
sid
);
NekDouble
dot
=
N
[
0
]
*
CP
[
0
]
+
N
[
1
]
*
CP
[
1
]
+
N
[
2
]
*
CP
[
2
];
ang
=
asin
(
ang
);
...
...
library/NekMeshUtils/SurfaceMeshing/FaceMesh.cpp
View file @
51d2d569
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment