Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
MpdTestHarness.h
Go to the documentation of this file.
1/*
2 * University of Illinois Open Source License
3 * Copyright 2015-2018 Luthey-Schulten Group,
4 * All rights reserved.
5 *
6 * Developed by: Luthey-Schulten Group
7 * University of Illinois at Urbana-Champaign
8 * http://www.scs.uiuc.edu/~schulten
9 *
10 * Permission is hereby granted, free of charge, to any person obtaining a copy of
11 * this software and associated documentation files (the Software), to deal with
12 * the Software without restriction, including without limitation the rights to
13 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
14 * of the Software, and to permit persons to whom the Software is furnished to
15 * do so, subject to the following conditions:
16 *
17 * - Redistributions of source code must retain the above copyright notice,
18 * this list of conditions and the following disclaimers.
19 *
20 * - Redistributions in binary form must reproduce the above copyright notice,
21 * this list of conditions and the following disclaimers in the documentation
22 * and/or other materials provided with the distribution.
23 *
24 * - Neither the names of the Luthey-Schulten Group, University of Illinois at
25 * Urbana-Champaign, the Roberts Group, Johns Hopkins University, nor the names
26 * of its contributors may be used to endorse or promote products derived from
27 * this Software without specific prior written permission.
28 *
29 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
32 * THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
33 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
34 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
35 * OTHER DEALINGS WITH THE SOFTWARE.
36 *
37 * Author(s): Mike Hallock
38 */
39
40#ifndef LM_RDME_MPDALTHARNESS
41#define LM_RDME_MPDALTHARNESS
42
43#include "cuda/lm_cuda.h"
44#include "rdme/RDMESolver.h"
45#include "rdme/MpdRdmeSolver.h"
47
50
51namespace lm {
52
53namespace io{
54class Lattice;
55class SpeciesCounts;
56}
57namespace rdme {
58
60{
61public:
63 virtual ~MpdTestHarness();
64 virtual void generateTrajectory();
65
66protected:
67 virtual void runTimestep(CudaByteLattice * lattice, uint32_t timestep);
68
71
72};
73
74}
75}
76
77#endif
Definition CudaByteLattice.h:54
Base class for lattice type objects.
Definition Lattice.h:132
float total_orig
Definition MpdTestHarness.h:70
cudaEvent_t original_start
Definition MpdTestHarness.h:69
cudaEvent_t jit_end
Definition MpdTestHarness.h:69
virtual void runTimestep(CudaByteLattice *lattice, uint32_t timestep)
cudaEvent_t original_end
Definition MpdTestHarness.h:69
float total_jit
Definition MpdTestHarness.h:70
virtual void generateTrajectory()
Actually run the simulation.
cudaEvent_t jit_start
Definition MpdTestHarness.h:69
Definition RDMESolver.h:55
Lattice * lattice
Definition RDMESolver.h:73
Definition LatticeBuilder.h:56
Definition LatticeBuilder.h:60
Definition Capsule.cpp:46