Page MenuHomec4science

InitNozzle.hpp
No OneTemporary

File Metadata

Created
Tue, Jun 4, 13:09

InitNozzle.hpp

//
// 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