ppap4lmp  0.7.2
inv_omp.h
Go to the documentation of this file.
1 
9 #ifndef INV_OMP_H
10 #define INV_OMP_H
11 
12 #include <invokers/invoker.h>
13 
32 class InvOMP : public Invoker {
33  protected:
47  virtual void execute_impl(
48  const Vec<ShPtr<Processor>> &procs) override;
49  public:
50  using Invoker::Invoker;
51  virtual ~InvOMP() = default;
52 };
53 
54 #endif
InvOMP is an Invoker&#39;s subclass using OpenMP to execute a computationally expensive part of analysis...
Definition: inv_omp.h:32
std::vector< T > Vec
Vec is an alias for vector (same as list in Python).
Definition: std.h:27
Invoker executes analysis programmed in one or more Processor objects.
Definition: invoker.h:18
std::shared_ptr< T > ShPtr
ShPtr is an alias for shared pointer.
Definition: std.h:16
virtual void execute_impl(const Vec< ShPtr< Processor >> &procs) override
This method overrides Invoker::execute_impl.
Definition: inv_omp.cpp:16
Invoker()=default
Constructor of Invoker class (default).
This file has a definition of Invoker class, which executes one or more analysis. ...