https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADNumericalFlux3EqnBase.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 "NumericalFlux1D.h"
13
18{
19public:
21
23
24protected:
25 virtual std::vector<ADReal> convert1DInputTo3D(const std::vector<ADReal> & U_1d) const override;
26 virtual std::vector<ADReal> convert3DFluxTo1D(const std::vector<ADReal> & F_3d) const override;
27 virtual void transform3DFluxDirection(std::vector<ADReal> & F_3d, Real nLR_dot_d) const override;
28};
Base class for computing numerical fluxes for FlowModelSinglePhase.
virtual std::vector< ADReal > convert1DInputTo3D(const std::vector< ADReal > &U_1d) const override
Converts a 1D flux input vector to a 3D flux input vector.
static InputParameters validParams()
virtual std::vector< ADReal > convert3DFluxTo1D(const std::vector< ADReal > &F_3d) const override
Converts a 3D flux vector to a 1D flux vector.
virtual void transform3DFluxDirection(std::vector< ADReal > &F_3d, Real nLR_dot_d) const override
Applies direction transformation to a 3D flux vector.
const InputParameters & parameters() const
Abstract base class for computing and caching internal or boundary fluxes for 1D conservation law sys...