WARPXM v1.10.0
Loading...
Searching...
No Matches
boundary_line_integral.h
Go to the documentation of this file.
1#pragma once
2
3// Wm includes
5
6namespace wxm
7{
8namespace dfem
9{
10namespace variable_adjuster
11{
12namespace unique_variable_adjuster
13{
26{
27public:
29
34 virtual void setup(const WxCryptSet& wxc) override;
35
39 void solve(real time, variables_type& input) override;
40
41 void Barrier(const WxMsgBase& msg, const real time, variables_type& input) override;
42
43protected:
44 std::vector<std::string> _boundary_names;
45
46 // Spatial basis set
47 std::unique_ptr<WmBasisArraySet> _basis_set;
48 std::unique_ptr<WmBasisArraySet> _surface_basis_set;
49
50 // WmUDGGeometry
51 std::unique_ptr<WmUDGGeometry> _dg_geometry;
52
53 // Spatial basis set name
54 std::string _basis_set_name;
55
56 /* indexes used in apps definitions */
57 std::vector<size_t> _out_idcs;
58
59private:
61 BoundaryLineIntegral& operator=(const BoundaryLineIntegral& var) = delete;
62
64 BoundaryLineIntegral(const BoundaryLineIntegral& var) = delete;
65};
66
67} // namespace unique_variable_adjuster
68} // namespace variable_adjuster
69} // namespace dfem
70} // namespace wxm
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
Provides an abstract interface for message based communication between different processes.
Definition: wxmsgbase.h:22
The BoundaryLineIntegral class calculates a line integral along a boundary and applies it to a unique...
Definition: boundary_line_integral.h:26
The WmVariableAdjuster class is a base class for variable adjusters.
Definition: variable_adjuster.h:31
wxm::temporal_solver::variables_type variables_type
Definition: variable_adjuster.h:41
std::unique_ptr< WmBasisArraySet > _basis_set
Definition: boundary_line_integral.h:47
std::string _basis_set_name
Definition: boundary_line_integral.h:54
std::unique_ptr< WmBasisArraySet > _surface_basis_set
Definition: boundary_line_integral.h:48
virtual void setup(const WxCryptSet &wxc) override
Setup the spatial solver using the cryptset.
std::unique_ptr< WmUDGGeometry > _dg_geometry
Definition: boundary_line_integral.h:51
void Barrier(const WxMsgBase &msg, const real time, variables_type &input) override
An opportunity for the variable adjuster to perform any MPI operations it needs to after solve is cal...
std::vector< std::string > _boundary_names
Definition: boundary_line_integral.h:44
void solve(real time, variables_type &input) override
Solves the spatial system and puts result in _rhs.
std::vector< size_t > _out_idcs
Definition: boundary_line_integral.h:57
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
#define real
Definition: wmoclunstructuredreconstruction.h:11