waves
Basic FE playground
wFreestream.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 University of Liège
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef WFREESTREAM_H
18 #define WFREESTREAM_H
19 
20 #include "flow.h"
21 #include "wGroup.h"
22 #include "wF1El.h"
23 
24 namespace flow
25 {
26 
31 class FLOW_API Freestream : public tbox::Group
32 {
33 public:
34 #ifndef SWIG
35  F1ElVi *f;
36 #endif
37  Freestream(std::shared_ptr<tbox::MshData> _msh, int no, int dim, double alpha, double beta = 0.0);
38  Freestream(std::shared_ptr<tbox::MshData> _msh, std::string const &name, int dim, double alpha, double beta = 0.0);
39  virtual ~Freestream();
40 
41 #ifndef SWIG
42  virtual void write(std::ostream &out) const override;
43 #endif
44 };
45 
46 } // namespace flow
47 
48 #endif //WFREESTREAM_H
flow::Freestream::f
F1ElVi * f
vector valued function to compute flux
Definition: wFreestream.h:35
FLOW_API
#define FLOW_API
Definition: flow.h:29
flow
Namespace for flow module.
Definition: flow.h:37
flow::F1ElVi
Freestream velocity.
Definition: wF1El.h:46
wF1El.h
flow.h
flow::Freestream
Manage freestream (Neumann) boundary condtion.
Definition: wFreestream.h:31