Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
288f05e0
Commit
288f05e0
authored
Apr 27, 2018
by
Mark Olesen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STYLE: use Time printExecutionTime
parent
8f6e65ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
14 deletions
+7
-14
executables/cartesianMesh/cartesianMesh.C
executables/cartesianMesh/cartesianMesh.C
+2
-5
executables/pMesh/pMesh.C
executables/pMesh/pMesh.C
+2
-3
executables/tetMesh/tetMesh.C
executables/tetMesh/tetMesh.C
+3
-6
No files found.
executables/cartesianMesh/cartesianMesh.C
View file @
288f05e0
...
...
@@ -36,8 +36,6 @@ using namespace Foam;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
#include "setRootCase.H"
...
...
@@ -45,11 +43,10 @@ int main(int argc, char *argv[])
Module
::
cartesianMeshGenerator
cmg
(
runTime
);
Info
<<
"ExecutionTime = "
<<
runTime
.
elapsedCpuTime
()
<<
" s
\n
"
<<
"ClockTime = "
<<
runTime
.
elapsedClockTime
()
<<
" s"
<<
endl
;
cmg
.
writeMesh
();
runTime
.
printExecutionTime
(
Info
);
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
...
...
executables/pMesh/pMesh.C
View file @
288f05e0
...
...
@@ -46,11 +46,10 @@ int main(int argc, char *argv[])
Module
::
voronoiMeshGenerator
pmg
(
runTime
);
Info
<<
"ExecutionTime = "
<<
runTime
.
elapsedCpuTime
()
<<
" s
\n
"
<<
"ClockTime = "
<<
runTime
.
elapsedClockTime
()
<<
endl
;
pmg
.
writeMesh
();
runTime
.
printExecutionTime
(
Info
);
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
...
...
executables/tetMesh/tetMesh.C
View file @
288f05e0
...
...
@@ -36,23 +36,20 @@ using namespace Foam;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
#include "setRootCase.H"
#include "createTime.H"
//
t
etrahedral mesher cannot be run in parallel yet
//
T
etrahedral mesher cannot be run in parallel yet
argList
::
noParallel
();
Module
::
tetMeshGenerator
tmg
(
runTime
);
Info
<<
"ExecutionTime = "
<<
runTime
.
elapsedCpuTime
()
<<
" s
\n
"
<<
"ClockTime = "
<<
runTime
.
elapsedClockTime
()
<<
endl
;
tmg
.
writeMesh
();
runTime
.
printExecutionTime
(
Info
);
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
...
...
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