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 "FileMeshComponent.h" 13 : #include "HeatStructureInterface.h" 14 : 15 : /** 16 : * Heat structure component that loads the mesh from an ExodusII file 17 : */ 18 : class HeatStructureFromFile3D : public FileMeshComponent, public HeatStructureInterface 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : HeatStructureFromFile3D(const InputParameters & params); 24 : 25 : virtual void addVariables() override; 26 : virtual void addMooseObjects() override; 27 : 28 : /** 29 : * Has the given region? 30 : */ 31 : bool hasRegion(const std::string & region) const; 32 : 33 : protected: 34 166 : virtual bool useCylindricalTransformation() const override { return false; } 35 : virtual void setupMesh() override; 36 : virtual void init() override; 37 : virtual void check() const override; 38 : 39 : /// Region names 40 : std::vector<std::string> _region_names; 41 : };