Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
integration-cfmesh
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
Container registry
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Community
integration-cfmesh
Commits
288f05e0
Commit
288f05e0
authored
7 years ago
by
Mark OLESEN
Browse files
Options
Downloads
Patches
Plain Diff
STYLE: use Time printExecutionTime
parent
8f6e65ae
No related branches found
No related tags found
1 merge request
!4
Final content for 1806 release
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
executables/cartesianMesh/cartesianMesh.C
+2
-5
2 additions, 5 deletions
executables/cartesianMesh/cartesianMesh.C
executables/pMesh/pMesh.C
+2
-3
2 additions, 3 deletions
executables/pMesh/pMesh.C
executables/tetMesh/tetMesh.C
+3
-6
3 additions, 6 deletions
executables/tetMesh/tetMesh.C
with
7 additions
and
14 deletions
executables/cartesianMesh/cartesianMesh.C
+
2
−
5
View file @
288f05e0
...
@@ -36,8 +36,6 @@ using namespace Foam;
...
@@ -36,8 +36,6 @@ using namespace Foam;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
#include
"setRootCase.H"
#include
"setRootCase.H"
...
@@ -45,11 +43,10 @@ int main(int argc, char *argv[])
...
@@ -45,11 +43,10 @@ int main(int argc, char *argv[])
Module
::
cartesianMeshGenerator
cmg
(
runTime
);
Module
::
cartesianMeshGenerator
cmg
(
runTime
);
Info
<<
"ExecutionTime = "
<<
runTime
.
elapsedCpuTime
()
<<
" s
\n
"
<<
"ClockTime = "
<<
runTime
.
elapsedClockTime
()
<<
" s"
<<
endl
;
cmg
.
writeMesh
();
cmg
.
writeMesh
();
runTime
.
printExecutionTime
(
Info
);
Info
<<
"End
\n
"
<<
endl
;
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
executables/pMesh/pMesh.C
+
2
−
3
View file @
288f05e0
...
@@ -46,11 +46,10 @@ int main(int argc, char *argv[])
...
@@ -46,11 +46,10 @@ int main(int argc, char *argv[])
Module
::
voronoiMeshGenerator
pmg
(
runTime
);
Module
::
voronoiMeshGenerator
pmg
(
runTime
);
Info
<<
"ExecutionTime = "
<<
runTime
.
elapsedCpuTime
()
<<
" s
\n
"
<<
"ClockTime = "
<<
runTime
.
elapsedClockTime
()
<<
endl
;
pmg
.
writeMesh
();
pmg
.
writeMesh
();
runTime
.
printExecutionTime
(
Info
);
Info
<<
"End
\n
"
<<
endl
;
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
executables/tetMesh/tetMesh.C
+
3
−
6
View file @
288f05e0
...
@@ -36,23 +36,20 @@ using namespace Foam;
...
@@ -36,23 +36,20 @@ using namespace Foam;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
#include
"setRootCase.H"
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createTime.H"
//
t
etrahedral mesher cannot be run in parallel yet
//
T
etrahedral mesher cannot be run in parallel yet
argList
::
noParallel
();
argList
::
noParallel
();
Module
::
tetMeshGenerator
tmg
(
runTime
);
Module
::
tetMeshGenerator
tmg
(
runTime
);
Info
<<
"ExecutionTime = "
<<
runTime
.
elapsedCpuTime
()
<<
" s
\n
"
<<
"ClockTime = "
<<
runTime
.
elapsedClockTime
()
<<
endl
;
tmg
.
writeMesh
();
tmg
.
writeMesh
();
runTime
.
printExecutionTime
(
Info
);
Info
<<
"End
\n
"
<<
endl
;
Info
<<
"End
\n
"
<<
endl
;
return
0
;
return
0
;
}
}
...
...
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