Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
ITABase
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
ITABase
Commits
d9968dd8
Commit
d9968dd8
authored
Jan 11, 2019
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding more default environment values and renaming speed of sound
parent
eb5f79d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
include/ITAConstants.h
include/ITAConstants.h
+19
-3
No files found.
include/ITAConstants.h
View file @
d9968dd8
...
...
@@ -66,9 +66,25 @@ namespace ITAConstants
static
std
::
vector
<
float
>
OCTAVE_CENTER_FREQUENCIES_ISO_F
=
{
31.5
f
,
63
,
125
,
250
,
500
,
1000
,
2000
,
4000
,
8000
,
16000
};
static
std
::
vector
<
double
>
OCTAVE_CENTER_FREQUENCIES_ISO_D
=
{
31.5
f
,
63
,
125
,
250
,
500
,
1000
,
2000
,
4000
,
8000
,
16000
};
// Speed of sound
static
float
SPEED_OF_SOUND_F
=
344.0
f
;
static
double
SPEED_OF_SOUND_D
=
344.0
f
;
// Default speed of sound at 344 m/s
static
double
DEFAULT_SPEED_OF_SOUND_D
=
344.0
f
;
// m/s
static
float
DEFAULT_SPEED_OF_SOUND_F
=
(
float
)
DEFAULT_SPEED_OF_SOUND_D
;
// m/s
// Dfault humindity at 80%
static
double
DEFAULT_HUMIDITY_D
=
80.0
f
;
// Percent
static
float
DEFAULT_HUMIDITY_F
=
(
float
)
DEFAULT_HUMIDITY_D
;
// Percent
// Default temperature at 20 centigrade (degree celcius)
static
double
DEFAULT_TEMPERATURE_D
=
20.0
f
;
// C
static
float
DEFAULT_TEMPERATURE_F
=
(
float
)
DEFAULT_TEMPERATURE_D
;
// C
// Default static pressure at 100125.0 Pa
static
double
DEFAULT_STATIC_PRESSURE_D
=
101325.0
f
;
// Pascal (absolute)
static
float
DEFAULT_STATIC_PRESSURE_F
=
(
float
)
DEFAULT_STATIC_PRESSURE_D
;
// Pascal (absolute)
// Legacy, please use DEFAULT_SPEED_OF_SOUND instead
static
double
SPEED_OF_SOUND_D
=
DEFAULT_SPEED_OF_SOUND_D
;
// m/s
static
float
SPEED_OF_SOUND_F
=
DEFAULT_SPEED_OF_SOUND_F
;
// m/s
};
#endif // INCLUDE_WATCHER_ITA_CONSTANTS
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