/home/runner/work/spades/spades/Source/RunTime.H File Reference

SPADES API: /home/runner/work/spades/spades/Source/RunTime.H File Reference
SPADES API
RunTime.H File Reference
#include "SPADES.H"
#include "Constants.H"
Include dependency graph for RunTime.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RunTime
 
class  TemplatedRunTime< Model >
 

Functions

void create_and_run_model (const std::string &model_name)
 

Function Documentation

◆ create_and_run_model()

void create_and_run_model ( const std::string & model_name)
53{
54 std::unique_ptr<RunTime> runtime;
55
56 if (model_name == "phold") {
58 runtime =
59 std::make_unique<TemplatedRunTime<spades::models::Phold>>(model);
60 runtime->run();
61 } else {
62 amrex::Abort("Invalid model type" + model_name);
63 }
64}
PHOLD model.
Definition Phold.H:15
Here is the caller graph for this function: