 |
waves
Basic FE playground
|
Go to the documentation of this file.
38 std::shared_ptr<MshData>
msh;
40 std::vector<std::shared_ptr<Source>>
srcs;
41 std::vector<std::shared_ptr<Medium>>
media;
42 std::vector<std::shared_ptr<Boundary>>
bnds;
44 Problem(std::shared_ptr<MshData> _msh);
47 void add(std::shared_ptr<Source> s) { srcs.push_back(s); }
48 void add(std::shared_ptr<Medium> m) { media.push_back(m); }
49 void add(std::shared_ptr<Boundary> b) { bnds.push_back(b); }
53 virtual void write(std::ostream &out)
const override;
main wave Problem object
Definition: wProblem.h:35
#define WAVES_API
Definition: waves.h:29
void add(std::shared_ptr< Boundary > b)
Definition: wProblem.h:49
void add(std::shared_ptr< Source > s)
Definition: wProblem.h:47
std::vector< std::shared_ptr< Medium > > media
Definition: wProblem.h:41
std::vector< std::shared_ptr< Boundary > > bnds
Definition: wProblem.h:42
std::vector< std::shared_ptr< Source > > srcs
Definition: wProblem.h:40
void add(std::shared_ptr< Medium > m)
Definition: wProblem.h:48
std::shared_ptr< MshData > msh
Definition: wProblem.h:38