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
ca51545d
Commit
ca51545d
authored
5 years ago
by
Tom Fischer
Committed by
Dmitri Naumov
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[MGTL] Clang format on output.
parent
63812e34
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MeshGeoToolsLib/BoundaryElementsAtPoint.cpp
+4
-6
4 additions, 6 deletions
MeshGeoToolsLib/BoundaryElementsAtPoint.cpp
MeshGeoToolsLib/IdentifySubdomainMesh.cpp
+2
-4
2 additions, 4 deletions
MeshGeoToolsLib/IdentifySubdomainMesh.cpp
with
6 additions
and
10 deletions
MeshGeoToolsLib/BoundaryElementsAtPoint.cpp
+
4
−
6
View file @
ca51545d
...
@@ -54,9 +54,8 @@ BoundaryElementsAtPoint::BoundaryElementsAtPoint(
...
@@ -54,9 +54,8 @@ BoundaryElementsAtPoint::BoundaryElementsAtPoint(
OGS_FATAL
(
OGS_FATAL
(
"BoundaryElementsAtPoint: the mesh node searcher found {:d} points "
"BoundaryElementsAtPoint: the mesh node searcher found {:d} points "
"near the requested point ({:f}, {:f}, {:f}) in the mesh, while "
"near the requested point ({:f}, {:f}, {:f}) in the mesh, while "
"exactly "
"exactly one is expected. Node (id={:d}) ({:f}, {:f}, {:f}) has "
"one is expected. Node (id={:d}) ({:f}, {:f}, {:f}) has distance "
"distance {:f}."
,
"{:f}."
,
node_ids
.
size
(),
_point
[
0
],
_point
[
1
],
_point
[
2
],
node_ids
.
size
(),
_point
[
0
],
_point
[
1
],
_point
[
2
],
mesh_nodes
[
nearest_node_id
]
->
getID
(),
mesh_nodes
[
nearest_node_id
]
->
getID
(),
(
*
mesh_nodes
[
nearest_node_id
])[
0
],
(
*
mesh_nodes
[
nearest_node_id
])[
0
],
...
@@ -67,9 +66,8 @@ BoundaryElementsAtPoint::BoundaryElementsAtPoint(
...
@@ -67,9 +66,8 @@ BoundaryElementsAtPoint::BoundaryElementsAtPoint(
WARN
(
WARN
(
"BoundaryElementsAtPoint: the mesh node searcher found {:d} points "
"BoundaryElementsAtPoint: the mesh node searcher found {:d} points "
"near the requested point ({:f}, {:f}, {:f}) in the mesh, while "
"near the requested point ({:f}, {:f}, {:f}) in the mesh, while "
"exactly "
"exactly one is expected. Node (id={:d}) ({:f}, {:f}, {:f}) has "
"one is expected. Node (id={:d}) ({:f}, {:f}, {:f}) has distance "
"distance {:f}."
,
"{:f}."
,
node_ids
.
size
(),
_point
[
0
],
_point
[
1
],
_point
[
2
],
node_ids
.
size
(),
_point
[
0
],
_point
[
1
],
_point
[
2
],
mesh_nodes
[
nearest_node_id
]
->
getID
(),
(
*
mesh_nodes
[
nearest_node_id
])[
0
],
mesh_nodes
[
nearest_node_id
]
->
getID
(),
(
*
mesh_nodes
[
nearest_node_id
])[
0
],
(
*
mesh_nodes
[
nearest_node_id
])[
1
],
(
*
mesh_nodes
[
nearest_node_id
])[
2
],
(
*
mesh_nodes
[
nearest_node_id
])[
1
],
(
*
mesh_nodes
[
nearest_node_id
])[
2
],
...
...
This diff is collapsed.
Click to expand it.
MeshGeoToolsLib/IdentifySubdomainMesh.cpp
+
2
−
4
View file @
ca51545d
...
@@ -37,8 +37,7 @@ std::vector<std::size_t> identifySubdomainMeshNodes(
...
@@ -37,8 +37,7 @@ std::vector<std::size_t> identifySubdomainMeshNodes(
OGS_FATAL
(
OGS_FATAL
(
"Expected to find exactly one node in the bulk mesh for each node "
"Expected to find exactly one node in the bulk mesh for each node "
"of the subdomain; Found {:d} nodes in the bulk mesh out of {:d} "
"of the subdomain; Found {:d} nodes in the bulk mesh out of {:d} "
"nodes "
"nodes in the subdomain."
,
"in the subdomain."
,
bulk_node_ids
.
size
(),
subdomain_mesh
.
getNumberOfNodes
());
bulk_node_ids
.
size
(),
subdomain_mesh
.
getNumberOfNodes
());
}
}
...
@@ -174,8 +173,7 @@ void updateOrCheckExistingSubdomainProperty(
...
@@ -174,8 +173,7 @@ void updateOrCheckExistingSubdomainProperty(
//
//
WARN
(
WARN
(
"There is already a '{:s}' property present in the subdomain mesh "
"There is already a '{:s}' property present in the subdomain mesh "
"'{:s}' "
"'{:s}' and it is not equal to the newly computed values."
,
"and it is not equal to the newly computed values."
,
property_name
.
c_str
(),
property_name
.
c_str
(),
mesh
.
getName
().
c_str
());
mesh
.
getName
().
c_str
());
...
...
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