Nalu
Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of energy applications of interest (most notably Wind ECP) built on the Sierra Toolkit and Trilinos solver Tpetra/Epetra stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information. http://NaluCFD.org
Transfers.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2014 Sandia Corporation. */
3 /* This software is released under the license detailed */
4 /* in the file, LICENSE, which is located in the top-level Nalu */
5 /* directory structure */
6 /*------------------------------------------------------------------------*/
7 
8 
9 #ifndef Transfers_h
10 #define Transfers_h
11 
12 #include <Enums.h>
13 
14 // yaml for parsing..
15 #include <yaml-cpp/yaml.h>
16 
17 #include <map>
18 #include <string>
19 #include <vector>
20 
21 namespace YAML {
22 class Node;
23 }
24 
25 namespace sierra{
26 namespace nalu{
27 
28 class Simulation;
29 class Transfer;
30 
31 class Transfers {
32 public:
33  Transfers(Simulation& sim);
34  ~Transfers();
35 
36  void load(const YAML::Node & node);
37  void breadboard();
38  void initialize();
39  void execute(); // general method to execute all xfers (as apposed to Realm)
40  Simulation *root();
41  Simulation *parent();
42 
44  std::vector<Transfer *> transferVector_;
45 };
46 
47 } // namespace nalu
48 } // namespace Sierra
49 
50 #endif
Definition: Simulation.h:28
Definition: ABLForcingAlgorithm.C:26
void initialize(int N, aligned_vector &x, aligned_vector &y)
Definition: UnitTestSimdBasic.C:37
Simulation & simulation_
Definition: Transfers.h:43
Definition: NaluParsing.C:400
std::vector< Transfer * > transferVector_
Definition: Transfers.h:44
Tpetra::Map< LocalOrdinal, GlobalOrdinal >::node_type Node
Definition: LinearSolver.h:32
Definition: Transfers.h:31