Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65541029
InitNozzle.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jun 4, 13:09
Size
812 B
Mime Type
text/x-c++
Expires
Thu, Jun 6, 13:09 (2 d)
Engine
blob
Format
Raw Data
Handle
18090676
Attached To
R3721 ConSol
InitNozzle.hpp
View Options
//
// Created by Fabian Moenkeberg on 2019-12-18.
//
#ifndef CONSOL_INITNOZZLE_HPP
#define CONSOL_INITNOZZLE_HPP
#include <stdio.h>
#include "../../AbstractFunct.hpp"
class
initNozzle
:
public
AbstractFunct
{
std
::
vector
<
double
>
xc
;
double
alpha
;
double
beta
;
double
gamma
;
double
M
;
public
:
initNozzle
(){
dim
=
2
;
xc
.
resize
(
2
);
xc
[
0
]
=
0
;
xc
[
1
]
=
0
;
alpha
=
0
;
M
=
0.5
;
gamma
=
1.4
;
};
initNozzle
(
double
alpha
,
double
M
){
dim
=
2
;
xc
.
resize
(
2
);
xc
[
0
]
=
0
;
xc
[
1
]
=
0
;
this
->
alpha
=
alpha
;
this
->
beta
=
beta
;
this
->
M
=
M
;
this
->
gamma
=
1.4
;
};
~
initNozzle
(){};
std
::
vector
<
double
>
F
(
std
::
vector
<
double
>
x
);
};
#endif
//CONSOL_INITNOZZLE_HPP
Event Timeline
Log In to Comment