4#include "sync/synchronizer.h"
16class distributed_variable_t;
20namespace variable_adjuster
22class variable_adjuster_t;
32 std::vector<std::unique_ptr<WmHostAction>> processors_;
34 bool add_variables(
const WxCryptSet& wxc,
const std::string&
name);
37 std::vector<std::unique_ptr<wxm::sync::patch_synchronizer_t>> synchronizers_;
41 typedef std::vector<std::pair<wxm::variable::distributed_variable_t*, size_t>>
46 std::vector<wxm::dfem::variable_adjuster::variable_adjuster_t*>
adjusters_;
Opaque Pointer object that carries the referenced data type, but does not expose this payload type as...
Definition: wmopaqueptr.h:81
The WmHostAction class is a base class for sub-solvers in the WARPXM system.
Definition: wmhostaction.h:35
WxCryptSet extends WxCrypt by providing, in addition to name-value pairs, an set of named WxCryptSets...
Definition: wxcryptset.h:35
virtual std::string name() const
Get name of object.
Represents important parameters for the efficacy of a completing simulation step.
Definition: wxstepperstatus.h:19
Runs a set of variable adjusters.
Definition: wmva_runner.h:30
std::vector< std::pair< wxm::variable::distributed_variable_t *, size_t > > variables_type
Definition: wmva_runner.h:42
std::vector< int > va_priorities
Definition: wmva_runner.h:49
void setup(const WxCryptSet &wxc) override
Setup hostaction object using supplied cryptset.
void typeCheck() override
Check that the provided variables meet the expected variable types for this hostaction.
WxStepperStatus step() override
Advance the stepper by assigned time step.
variables_type variables_
Definition: wmva_runner.h:56
va_runner(const WmConstOpaquePtr &parent_solver)
Definition: wmva_runner.h:59
void finish_sync()
wait for syncing to finish
void start_sync()
Asynchronously start syncing ghost cell data.
std::vector< wxm::dfem::variable_adjuster::variable_adjuster_t * > adjusters_
Definition: wmva_runner.h:46
int min_priority
Definition: wmva_runner.h:51
int max_priority
Definition: wmva_runner.h:53
bool needsDomain() const override
Return true if this updater needs a domain to work on.
Definition: wmva_runner.h:65
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8