https://mooseframework.inl.gov
FormLoss1PhaseBase.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 "Component.h"
13 
18 {
19 public:
20  FormLoss1PhaseBase(const InputParameters & params);
21 
22  virtual void init() override;
23  virtual void check() const override;
24  virtual void addMooseObjects() override;
25 
26 protected:
28  std::vector<SubdomainName> _flow_channel_subdomains;
30  const std::string & _flow_channel_name;
31 
32 public:
34 };
const std::string & _flow_channel_name
Name of the flow channel component.
virtual void addMooseObjects() override
Base class for prescribing a form loss over a 1-phase flow channel.
static InputParameters validParams()
FormLoss1PhaseBase(const InputParameters &params)
Base class for THM components.
Definition: Component.h:27
std::vector< SubdomainName > _flow_channel_subdomains
Subdomains corresponding to the connected flow channel.
virtual void check() const override
Check the component integrity.
virtual void init() override
Initializes the component.