https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowAddMaterialJoiner.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 "Action.h"
13
19{
20
21public:
23
25
26 virtual void act() override;
27
28protected:
36 void addJoiner(bool at_nodes,
37 bool is_ad,
38 const std::string & material_property,
39 const std::string & output_name);
40
47 bool hasJoiner(std::string property);
48
50 std::string _dictator_name;
51
54
56 std::vector<SubdomainName> _blocks;
57
59 std::vector<std::string> _already_joined;
60};
Action to programatically add PorousFlowJoiner materials without having to manually enter them in the...
std::string _dictator_name
Name of the PorousFlowDictator.
bool _block_restricted
whether the Material that is currently being Joined is block-restricted
std::vector< std::string > _already_joined
Vector of already joined materials (to avoid joining them again)
std::vector< SubdomainName > _blocks
if _block_restricted == true, then these are the blocks that the Joiner will be restricted to
void addJoiner(bool at_nodes, bool is_ad, const std::string &material_property, const std::string &output_name)
Adds a PorousFlowJoiner for the given material property.
bool hasJoiner(std::string property)
Helper method to determine if a PorousFLowJoiner material is already present in the input file for th...