![]() |
|
|||
File indexing completed on 2025-08-05 08:19:14
0001 // ----------------------------------------- 0002 // JetScape (modular/task) based framework 0003 // Intial Design: LongGang Pang (2017) 0004 // (UC Berkeley and LBNL) 0005 // ----------------------------------------- 0006 // License and Doxygen-like Documentation to be added ... 0007 #include "../JetScape.h" 0008 #include "../TrentoInitial.h" 0009 #include "../FluidDynamics.h" 0010 #include "gtest/gtest.h" 0011 0012 using namespace Jetscape; 0013 0014 0015 TEST(InitialFromXMLTest, TEST_XML){ 0016 auto jetscape = make_shared<JetScape>("./jetscape_init.xml",3); 0017 jetscape->SetId("primary"); 0018 auto ini = make_shared<TrentoInitial>(); 0019 0020 jetscape->Add(ini); 0021 0022 // jetscape->Init() must come before make_shred<JetScapeInitial>() 0023 // such that jetscape_init.xml file is read in to memory in prior 0024 jetscape->Init(); 0025 0026 // Run JetScape with all task/modules as specified ... 0027 jetscape->Exec(); 0028 0029 // Most thinkgs done in write and clear ... 0030 jetscape->Finish(); 0031 0032 } 0033
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |