Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
db795745
Commit
db795745
authored
4 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[MeL] Substitute MaL::Vector3 by Eigen::Vector3d.
parent
3cd00930
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MeshLib/Elements/CellRule.cpp
+5
-6
5 additions, 6 deletions
MeshLib/Elements/CellRule.cpp
with
5 additions
and
6 deletions
MeshLib/Elements/CellRule.cpp
+
5
−
6
View file @
db795745
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
#include
"CellRule.h"
#include
"CellRule.h"
#include
"MathLib/Vector3.h"
#include
"MeshLib/Node.h"
#include
"MeshLib/Node.h"
#include
"Element.h"
#include
"Element.h"
#include
"FaceRule.h"
#include
"FaceRule.h"
...
@@ -19,12 +18,12 @@ namespace MeshLib {
...
@@ -19,12 +18,12 @@ namespace MeshLib {
bool
CellRule
::
testElementNodeOrder
(
const
Element
*
e
)
bool
CellRule
::
testElementNodeOrder
(
const
Element
*
e
)
{
{
const
MathLib
::
Vector3
c
(
getCenterOfGravity
(
*
e
));
Eigen
::
Vector3
d
c
onst
cc
=
Eigen
::
Vector3d
const
cc
=
Eigen
::
Map
<
Eigen
::
Vector3d
const
>
(
c
.
getCoords
());
Eigen
::
Map
<
Eigen
::
Vector3d
const
>
(
getCenterOfGravity
(
*
e
)
.
getCoords
());
const
unsigned
nFaces
(
e
->
getNumberOfFaces
());
const
unsigned
nFaces
(
e
->
getNumberOfFaces
());
for
(
unsigned
j
=
0
;
j
<
nFaces
;
++
j
)
for
(
unsigned
j
=
0
;
j
<
nFaces
;
++
j
)
{
{
MeshLib
::
Element
const
*
const
face
(
e
->
getFace
(
j
));
MeshLib
::
Element
const
*
const
face
(
e
->
getFace
(
j
));
// Node 1 is checked below because that way all nodes are used for the test
// Node 1 is checked below because that way all nodes are used for the test
// at some point, while for node 0 at least one node in every element
// at some point, while for node 0 at least one node in every element
// type would be used for checking twice and one wouldn't be checked at
// type would be used for checking twice and one wouldn't be checked at
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment