 |
waves
Basic FE playground
|
Go to the documentation of this file.
38 std::shared_ptr<MshData>
msh;
40 std::vector<std::shared_ptr<Medium>>
media;
41 std::vector<std::shared_ptr<Dirichlet>>
dBCs;
43 std::vector<std::shared_ptr<Source>>
srcs;
44 std::vector<std::shared_ptr<Boundary>>
bnds;
46 std::shared_ptr<Periodic>
pdic;
50 Problem(std::shared_ptr<MshData> _msh);
53 void add(std::shared_ptr<Medium> m) { media.push_back(m); }
54 void add(std::shared_ptr<Dirichlet> d) { dBCs.push_back(d); }
55 void add(std::shared_ptr<Source> s) { srcs.push_back(s); }
56 void add(std::shared_ptr<Boundary> b) { bnds.push_back(b); }
57 void add(std::shared_ptr<Periodic> p) { pdic = p; }
61 virtual void write(std::ostream &out)
const override;
#define HEAT_API
Definition: heat.h:29
void add(std::shared_ptr< Source > s)
Definition: wProblem.h:55
this namespace avoids conflicts with similar names in 'waves'
Definition: heat.h:38
a class containing the problem parameters
Definition: wProblem.h:35
void add(std::shared_ptr< Dirichlet > d)
Definition: wProblem.h:54
void add(std::shared_ptr< Boundary > b)
Definition: wProblem.h:56
std::vector< std::shared_ptr< Boundary > > bnds
prescribed fluxes on the boundary
Definition: wProblem.h:44
std::vector< std::shared_ptr< Source > > srcs
volumic sources
Definition: wProblem.h:43
std::vector< std::shared_ptr< Medium > > media
Materials.
Definition: wProblem.h:40
std::shared_ptr< MshData > msh
Mesh structure.
Definition: wProblem.h:38
void add(std::shared_ptr< Medium > m)
Definition: wProblem.h:53
std::vector< std::shared_ptr< Dirichlet > > dBCs
Dirichlet boundary conditions.
Definition: wProblem.h:41
std::shared_ptr< Periodic > pdic
periodic BC
Definition: wProblem.h:46
void add(std::shared_ptr< Periodic > p)
Definition: wProblem.h:57