Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #pragma once 11 : 12 : #include "Moose.h" 13 : 14 : // libMesh 15 : #include "libmesh/libmesh.h" 16 : 17 : /** 18 : * Initialization object for any MOOSE-based application 19 : * 20 : * This object must be created in the main() of any MOOSE-based application so 21 : * everything is properly initialized and finalized. 22 : */ 23 : class MooseInit : public libMesh::LibMeshInit 24 : { 25 : public: 26 : MooseInit(int argc, char * argv[], MPI_Comm COMM_WORLD_IN = MPI_COMM_WORLD); 27 47001 : virtual ~MooseInit() = default; 28 : };