Project

General

Profile

Meeting 2016 04 16

Agenda

  • GQLink implementation - progress as of today
    • Integration of QSS compilation and model generation in Geant4's building process
    • Running QSS simulations within Geant4
    • Sample plots
  • Next steps

QSS simulations - Plots

Parameters

  • dQRel = 0.2
  • dQMin = 2e-4
  • simulation time = 1 ns

From QSS Solver

From Geant4 - step-by-step

Code snippet

  GQLink::StaticBModel *model = dynamic_cast<GQLink::StaticBModel*>(GQLink::ModelBuilder().build(GQLink::STATIC_B));
  G4cout << "Stepping 0.25 ns..." << G4endl;
  model->advance(0.25);
  G4cout << "Stepping 0.25 ns..." << G4endl;
  model->advance(0.25);
  G4cout << "Stepping 0.39 ns..." << G4endl;
  model->advance(0.39);
  G4cout << "Stepping 0.11 ns..." << G4endl;
  model->advance(0.11);
  G4cout << "Ending QSS simulation..." << G4endl;
  model->finalize();

From Geant4 - step-by-step changing B

Code snippet

  GQLink::StaticBModel *model = dynamic_cast<GQLink::StaticBModel*>(GQLink::ModelBuilder().build(GQLink::STATIC_B));
  G4cout << "Stepping 0.25 ns..." << G4endl;
  model->advance(0.25);
  G4cout << "Stepping 0.25 ns..." << G4endl;
  G4cout << "Changing B..." << G4endl;
  model->set_B(0.01);
  model->advance(0.25);
  G4cout << "Restoring B..." << G4endl;
  model->set_B(0.001);
  G4cout << "Stepping 0.39 ns..." << G4endl;
  model->advance(0.39);
  G4cout << "Stepping 0.11 ns..." << G4endl;
  model->advance(0.11);
  G4cout << "Ending QSS simulation..." << G4endl;
  model->finalize();