www.mooseframework.org
PressureAction.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
14 class PressureAction : public Action
15 {
16 public:
18 
19  PressureAction(const InputParameters & params);
20 
21  virtual void act() override;
22 
23 protected:
25  const bool _use_ad;
26 
27  std::vector<std::vector<AuxVariableName>> _save_in_vars;
28  std::vector<bool> _has_save_in_vars;
29 };
PressureAction(const InputParameters &params)
std::vector< bool > _has_save_in_vars
std::vector< std::vector< AuxVariableName > > _save_in_vars
virtual void act() override
const bool _use_ad
Flag to use automatic differentiation.
static InputParameters validParams()