FluxView< dim, FluxType > Struct Template Reference

Developer Documentation: MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType > Struct Template Reference
Developer Documentation
MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType > Struct Template Reference

#include <state_views.hpp>

Inheritance diagram for MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType >:
[legend]
Collaboration diagram for MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType >:
[legend]

Public Member Functions

 FluxView (FluxType &flux_in)
 
 operator FluxView< dim, const FluxType > ()
 
FluxTypevalue () const
 
- Public Member Functions inherited from MeltPoolDG::CompressibleFlow::FluxMixin< dim, FluxView< dim, FluxType > >
decltype(auto) density_flux () const
 
decltype(auto) momentum_flux (const unsigned int component) const
 
decltype(auto) energy_flux () const
 

Private Attributes

FluxTypeflux
 

Additional Inherited Members

- Public Types inherited from MeltPoolDG::CompressibleFlow::FluxMixin< dim, FluxView< dim, FluxType > >
using Idx = ConservedVariableIndex< dim >
 

Detailed Description

template<int dim, typename FluxType>
struct MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType >

View providing access to the fluxes stored in the underlying data structure. Besides direct access to the fluxes, no further functionality is provided.

The underlying FluxType must store the fluxes in a tensor-like container indexed according to TensorStorageIndex<dim>.

Template Parameters
FluxTypeType of the data structure storing the fluxes.

Constructor & Destructor Documentation

◆ FluxView()

template<int dim, typename FluxType >
MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType >::FluxView ( FluxType flux_in)
inlineexplicit

Member Function Documentation

◆ operator FluxView< dim, const FluxType >()

template<int dim, typename FluxType >
MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType >::operator FluxView< dim, const FluxType > ( )
inline

◆ value()

template<int dim, typename FluxType >
FluxType & MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType >::value ( ) const
inline

Member Data Documentation

◆ flux

template<int dim, typename FluxType >
FluxType* MeltPoolDG::CompressibleFlow::FluxView< dim, FluxType >::flux
mutableprivate

The documentation for this struct was generated from the following file: