Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
code
pugs
Commits
a186b9a1
Commit
a186b9a1
authored
Sep 3, 2018
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
rename Connectivity::_computeFaceCellConnectivities()
to Connectivity::_computeCellFaceAndFaceNodeConnectivities()
parent
e775bd9f
No related branches found
No related tags found
1 merge request
!6
Feature/crs
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/mesh/Connectivity.cpp
+3
-3
3 additions, 3 deletions
src/mesh/Connectivity.cpp
src/mesh/Connectivity.hpp
+1
-1
1 addition, 1 deletion
src/mesh/Connectivity.hpp
with
4 additions
and
4 deletions
src/mesh/Connectivity.cpp
+
3
−
3
View file @
a186b9a1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include
<map>
#include
<map>
template
<
>
template
<
>
void
Connectivity
<
3
>::
_compute
Face
CellConnectivities
()
void
Connectivity
<
3
>::
_computeCell
FaceAndFaceNode
Connectivities
()
{
{
typedef
std
::
tuple
<
unsigned
int
,
unsigned
short
,
bool
>
CellFaceInfo
;
typedef
std
::
tuple
<
unsigned
int
,
unsigned
short
,
bool
>
CellFaceInfo
;
...
@@ -154,7 +154,7 @@ void Connectivity<3>::_computeFaceCellConnectivities()
...
@@ -154,7 +154,7 @@ void Connectivity<3>::_computeFaceCellConnectivities()
}
}
template
<
>
template
<
>
void
Connectivity
<
2
>::
_compute
Face
CellConnectivities
()
void
Connectivity
<
2
>::
_computeCell
FaceAndFaceNode
Connectivities
()
{
{
const
auto
&
cell_to_node_matrix
const
auto
&
cell_to_node_matrix
=
this
->
getMatrix
(
ItemType
::
cell
,
ItemType
::
node
);
=
this
->
getMatrix
(
ItemType
::
cell
,
ItemType
::
node
);
...
@@ -243,7 +243,7 @@ Connectivity(const std::vector<std::vector<unsigned int>>& cell_by_node_vector,
...
@@ -243,7 +243,7 @@ Connectivity(const std::vector<std::vector<unsigned int>>& cell_by_node_vector,
}
}
if
constexpr
(
Dimension
>
1
)
{
if
constexpr
(
Dimension
>
1
)
{
this
->
_compute
Face
CellConnectivities
();
this
->
_computeCell
FaceAndFaceNode
Connectivities
();
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/mesh/Connectivity.hpp
+
1
−
1
View file @
a186b9a1
...
@@ -265,7 +265,7 @@ class Connectivity final
...
@@ -265,7 +265,7 @@ class Connectivity final
std
::
unordered_map
<
Face
,
unsigned
int
,
typename
Face
::
Hash
>
m_face_number_map
;
std
::
unordered_map
<
Face
,
unsigned
int
,
typename
Face
::
Hash
>
m_face_number_map
;
void
_compute
Face
CellConnectivities
();
void
_computeCell
FaceAndFaceNode
Connectivities
();
template
<
typename
SubItemValuePerItemType
>
template
<
typename
SubItemValuePerItemType
>
KOKKOS_INLINE_FUNCTION
KOKKOS_INLINE_FUNCTION
...
...
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