ABLATE Source Documentation  0.12.34
initializerList.hpp
1 #ifndef ABLATELIBRARY_DOMAIN_INITIALIZERLIST_HPP
2 #define ABLATELIBRARY_DOMAIN_INITIALIZERLIST_HPP
3 
4 #include <memory>
5 #include <utility>
6 #include <vector>
7 #include "field.hpp"
8 #include "initializer.hpp"
9 #include "mathFunctions/fieldFunction.hpp"
10 
11 namespace ablate::domain {
15 class InitializerList : public Initializer {
16  private:
17  const std::vector<std::shared_ptr<Initializer>> initializers;
18 
19  public:
23  explicit InitializerList(std::vector<std::shared_ptr<Initializer>>);
24 
28  [[nodiscard]] std::vector<std::shared_ptr<mathFunctions::FieldFunction>> GetFieldFunctions(const std::vector<domain::Field>& fields) const override;
29 };
30 
31 } // namespace ablate::domain
32 
33 #endif // ABLATELIBRARY_DOMAIN_INITIALIZERLIST_HPP
Definition: initializer.hpp:14
Definition: initializerList.hpp:15
InitializerList(std::vector< std::shared_ptr< Initializer >>)
Definition: initializerList.cpp:3
std::vector< std::shared_ptr< mathFunctions::FieldFunction > > GetFieldFunctions(const std::vector< domain::Field > &fields) const override
Definition: initializerList.cpp:5