35 const auto & var =
object->variable();
38 if (object->blockRestricted())
42 (
object->hasBlocks(iter->second) ||
46 "' is being defined on a block that already has an initial condition defined.");
48 _block_ics[tid][var.name()].insert(object->blockIDs().begin(),
object->blockIDs().end());
57 "' is being defined on a block that already has an initial condition defined.");
void sort(THREAD_ID tid=0)
Sort the objects using the DependencyResolver.
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
FVInitialConditionWarehouse()
void initialSetup(THREAD_ID tid)
Initial setup.
std::vector< std::map< std::string, std::set< SubdomainID > > > _block_ics
const SubdomainID ANY_BLOCK_ID
virtual void addObject(std::shared_ptr< T > object, THREAD_ID tid=0, bool recurse=true)
Adds an object to the storage structure.
std::vector< std::vector< std::shared_ptr< FVInitialConditionBase > > > _active_objects
All active objects (THREAD_ID on outer vector)
void addObject(std::shared_ptr< FVInitialConditionBase > object, THREAD_ID tid, bool recurse=true)
Add object to the warehouse.
A base storage container for MooseObjects.