https://mooseframework.inl.gov
GravityInterface.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 "InputParameters.h"
13 #include "libmesh/vector_value.h"
14 
19 {
20 public:
21  GravityInterface(const InputParameters & parameters);
22 
27 
28 protected:
34  const bool _gravity_is_zero;
37 
38 public:
40 };
GravityInterface(const InputParameters &parameters)
const Real _gravity_magnitude
Gravitational acceleration magnitude.
Interface for specifying gravity at the component level.
static InputParameters validParams()
const bool _gravity_is_zero
Gravitational acceleration magnitude is zero?
const RealVectorValue _gravity_direction
Gravitational acceleration unit direction.
const RealVectorValue & _gravity_vector
Gravitational acceleration vector.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real getGravityMagnitude() const
Gets gravity magnitude.