Chi-Tech
lbs_01_main_initialize.cc
Go to the documentation of this file.
1#include "lbs_solver.h"
2
3#include "chi_runtime.h"
4#include "chi_log.h"
5
6//###################################################################
7/** Initialize the solver.*/
9{
10 PerformInputChecks(); //a assigns num_groups and grid
11 PrintSimHeader(); //b
12
13 MPI_Barrier(Chi::mpi.comm);
14
15 InitMaterials(); //c
22
24}
static chi::ChiLog & log
Definition: chi_runtime.h:81
static chi::MPI_Info & mpi
Definition: chi_runtime.h:78
size_t GetRepeatingEventTag(std::string event_name)
Definition: chi_log.cc:176
virtual void PerformInputChecks()
size_t source_event_tag_
Definition: lbs_solver.h:58
virtual void InitializeSpatialDiscretization()
void Initialize() override
virtual void InitializeParrays()