waves
Basic FE playground
wBoundary.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 WBOUNDARY_H
18
#define WBOUNDARY_H
19
20
#include "
waves.h
"
21
#include "wGroup.h"
22
23
using namespace
tbox;
24
25
namespace
waves
26
{
27
32
class
WAVES_API
Boundary
:
public
Group
33
{
34
public
:
35
double
c
;
36
Boundary
(std::shared_ptr<MshData> _msh,
int
no,
double
_c);
37
Boundary
(std::shared_ptr<MshData> _msh, std::string
const
&name,
double
_c);
38
virtual
~Boundary
() { std::cout <<
"~Boundary()\n"
; }
39
40
#ifndef SWIG
41
virtual
void
write(std::ostream &out)
const override
;
42
#endif
43
};
44
}
// namespace waves
45
46
#endif //WBOUNDARY_H
waves::Boundary
boundaries which requires a special treatment
Definition:
wBoundary.h:32
WAVES_API
#define WAVES_API
Definition:
waves.h:29
waves::Boundary::~Boundary
virtual ~Boundary()
Definition:
wBoundary.h:38
waves::Boundary::c
double c
Definition:
wBoundary.h:35
waves
Definition:
waves.h:34
waves.h
waves
src
wBoundary.h
Generated on Fri Oct 28 2022 10:21:59 for waves by
1.8.17