waves
Basic FE playground
wExtractor.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 WEXTRACTOR_H
18
#define WEXTRACTOR_H
19
20
#include "
heat.h
"
21
#include "wExtract.h"
22
23
using namespace
tbox;
24
25
namespace
heat
26
{
27
32
class
HEAT_API
Extractor
:
public
fwk::Extract
33
{
34
Solver
&
solver
;
35
Group &
grp
;
36
37
public
:
38
Extractor
(
Solver
&_solver, Group &_grp);
39
virtual
~Extractor
() { std::cout <<
"~Extractor()\n"
; }
40
virtual
std::vector<double> execute()
override
;
41
std::vector<Node *>
nodes
;
42
43
#ifndef SWIG
44
virtual
void
write(std::ostream &out)
const override
;
45
#endif
46
};
47
48
}
// namespace heat
49
50
#endif //WEXTRACTOR_H
HEAT_API
#define HEAT_API
Definition:
heat.h:29
heat::Solver
heat solver
Definition:
wSolver.h:39
heat::Extractor::~Extractor
virtual ~Extractor()
Definition:
wExtractor.h:39
heat
this namespace avoids conflicts with similar names in 'waves'
Definition:
heat.h:38
heat::Extractor::nodes
std::vector< Node * > nodes
faire une classe intermediaire group/dirichlet (nodegroup)
Definition:
wExtractor.h:41
heat::Extractor::solver
Solver & solver
Definition:
wExtractor.h:34
heat.h
heat::Extractor
an object able to extract scalar results from the model
Definition:
wExtractor.h:32
heat::Extractor::grp
Group & grp
Definition:
wExtractor.h:35
heat
src
wExtractor.h
Generated on Fri Oct 28 2022 10:21:59 for waves by
1.8.17