WARPXM v1.10.0
Loading...
Searching...
No Matches
mesh.h
Go to the documentation of this file.
1#ifndef WXM_MESH_H
2#define WXM_MESH_H
3
4#include <UCDomain.h>
5#include <string>
6
7class WmDomain;
8class WxCryptSet;
9
10namespace wxm
11{
15namespace mesh
16{
26class mesh
27{
28protected:
33
37 std::string output_mesh_prefix;
38
45 virtual void setup_impl(const WxCryptSet& wxc,
46 UCDomain::periodicBoundaryList_t& pBL,
47 UCDomain& d,
48 WmDomain& domain) = 0;
49
50public:
52
53 virtual ~mesh();
54
59 void setup(const WxCryptSet& wxc, WmDomain& domain);
60};
61} // namespace mesh
62} // namespace wxm
63#endif
Definition: wmdomain.h:35
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Base class for handling input meshes.
Definition: mesh.h:27
std::string output_mesh_prefix
Prefix to use for handling restart meshes.
Definition: mesh.h:37
virtual ~mesh()
void setup(const WxCryptSet &wxc, WmDomain &domain)
Setup the mesh.
int num_layers
Number of ghost layers.
Definition: mesh.h:32
virtual void setup_impl(const WxCryptSet &wxc, UCDomain::periodicBoundaryList_t &pBL, UCDomain &d, WmDomain &domain)=0
Subclass should implement this to properly setup the mesh.
warpy mesh
Definition: shock_tube.py:19
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8