Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
lagrangian
molecularDynamics
molecule
mdTools
createRefUnits.H
Go to the documentation of this file.
1
reducedUnits
refUnits
;
2
3
IOobject
reducedUnitsDictIOobject
4
(
5
"reducedUnitsDict"
,
6
runTime.system(),
7
mesh
,
8
IOobject::READ_IF_PRESENT,
9
IOobject::NO_WRITE
10
);
11
12
if
(
reducedUnitsDictIOobject
.headerOk())
13
{
14
Info
<<
nl
15
<<
"Reading reference quantities from reducedUnitsDict file."
<<
endl
;
16
17
IOdictionary reducedUnitsDict(
reducedUnitsDictIOobject
);
18
19
refUnits
.setRefValues(reducedUnitsDict);
20
}
21
22
Info
<<
refUnits
<<
endl
;
23
24
// ************************ vim: set sw=4 sts=4 et: ************************ //