https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComputeInitialConditionThread.h
Go to the documentation of this file.
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 "MooseTypes.h"
13
14// libmesh
15#include "libmesh/elem_range.h"
16#include "libmesh/threads.h"
17
18class FEProblemBase;
19
21{
22public:
23 // Set IC on all variables
25
26 // Splitting Constructor
28
29 void operator()(const libMesh::ConstElemRange & range);
30 void join(const ComputeInitialConditionThread & /*y*/);
31
32protected:
35
38
39private:
41 const std::set<VariableName> * _target_vars = nullptr;
42
45 const std::set<VariableName> * target_vars);
46
47 // Allow FEProblemBase to access the private constructor
48 friend class FEProblemBase;
49};
unsigned int THREAD_ID
Definition MooseTypes.h:237
const std::set< VariableName > * _target_vars
the names of target variables for which the initial conditions are applied
void printGeneralExecutionInformation() const
Print information about the loop, mostly order of execution of objects.
void operator()(const libMesh::ConstElemRange &range)
void join(const ComputeInitialConditionThread &)
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.