LCOV - code coverage report
Current view: top level - src - topop.cc (source / functions) Coverage Total Hit
Test: coverage_merged.info Lines: 92.9 % 14 13
Test Date: 2025-02-27 04:17:48 Functions: 100.0 % 1 1

            Line data    Source code
       1              : #include <iostream>
       2              : #include <fstream>
       3              : #include <iomanip>
       4              : 
       5              : #include "Util/Util.H"
       6              : #include "IO/ParmParse.H"
       7              : #include "IO/FileNameParse.H"
       8              : #include "IO/WriteMetaData.H"
       9              : #include "AMReX_ParmParse.H"
      10              : 
      11              : #include "Model/Solid/Linear/Isotropic.H"
      12              : #include "Integrator/TopOp.H"
      13              : 
      14            2 : int main (int argc, char* argv[])
      15              : {
      16            2 :     Util::Initialize(argc,argv);
      17              : 
      18            2 :     std::string program = "microstructure";
      19            2 :     IO::ParmParse pp;
      20            2 :     pp_query("alamo.program",program);
      21            2 :     srand(2);
      22              : 
      23            2 :     Integrator::Integrator *integrator = nullptr;
      24            2 :     if (program == "topop")                integrator = new Integrator::TopOp<Model::Solid::Linear::Isotropic>(pp);
      25            0 :     else Util::Abort(INFO,"Error: \"",program,"\" is not a valid program.");
      26              : 
      27            2 :     integrator->InitData();
      28            2 :     integrator->Evolve();
      29            1 :     delete integrator;
      30              : 
      31            1 :     Util::Finalize();
      32            1 : } 
        

Generated by: LCOV version 2.0-1