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 "PolycrystalVoronoi.h" 13 : 14 : // Forward Declarations 15 : class FauxPolycrystalVoronoi; 16 : 17 : class FauxPolycrystalVoronoi : public PolycrystalVoronoi 18 : { 19 : public: 20 : static InputParameters validParams(); 21 : 22 : FauxPolycrystalVoronoi(const InputParameters & parameters); 23 : 24 : /** 25 : * We override all these functions to avoid calling FeatureFloodCount 26 : * We know here is a one-to-one mapping between grain and variable 27 : */ 28 : virtual void initialSetup() override; 29 20 : virtual void initialize() override {} 30 : virtual void execute() override; 31 : virtual void finalize() override; 32 36 : virtual void meshChanged() override {} 33 : };