Interface Documentation
Version: invalid
backend.hh
Go to the documentation of this file.
1 /*
2  @@@@@@@@ @@ @@@@@@ @@@@@@@@ @@
3  /@@///// /@@ @@////@@ @@////// /@@
4  /@@ /@@ @@@@@ @@ // /@@ /@@
5  /@@@@@@@ /@@ @@///@@/@@ /@@@@@@@@@/@@
6  /@@//// /@@/@@@@@@@/@@ ////////@@/@@
7  /@@ /@@/@@//// //@@ @@ /@@/@@
8  /@@ @@@//@@@@@@ //@@@@@@ @@@@@@@@ /@@
9  // /// ////// ////// //////// //
10 
11  Copyright (c) 2016, Triad National Security, LLC
12  All rights reserved.
13  */
14 #pragma once
15 
18 #include <flecsi-config.h>
19 
20 #include "flecsi/data/field.hh"
21 #include "flecsi/topo/index.hh"
22 
23 namespace flecsi::io {
24 using field_reference_t = data::field_reference_t<topo::index>;
25 }
26 
27 /*----------------------------------------------------------------------------*
28  This section works with the build system to select the correct runtime
29  implemenation for the io model.
30  *----------------------------------------------------------------------------*/
31 
32 #if FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_legion
33 
34 #include "flecsi/io/leg/policy.hh"
35 
36 #elif FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_mpi
37 
38 #include <flecsi/io/mpi/policy.hh>
39 
40 #elif FLECSI_RUNTIME_MODEL == FLECSI_RUNTIME_MODEL_hpx
41 
42 #include <flecsi/io/hpx/policy.hh>
43 
44 #endif // FLECSI_RUNTIME_MODEL
Definition: backend.hh:23