54 template <
unsigned int TDim,
unsigned int TNumNodes>
61 using IndexType = std::size_t;
69 using PressureDerivativeContributions =
typename TResidualsDerivatives::template VariableDerivatives<typename QSVMSDerivativeUtilities<TDim>::template PressureDerivative<TNumNodes>>;
71 template<
unsigned int TDirectionIndex>
72 using VelocityDerivativeContributions =
typename TResidualsDerivatives::template VariableDerivatives<typename QSVMSDerivativeUtilities<TDim>::template VelocityDerivative<TNumNodes, TDirectionIndex>>;
74 template<
unsigned int TDirectionIndex>
75 using ShapeDerivatives =
typename TResidualsDerivatives::template VariableDerivatives<typename QSVMSDerivativeUtilities<TDim>::template ShapeDerivative<TNumNodes, TDirectionIndex>>;
77 template<
unsigned int TDirectionIndex>
78 using AccelerationDerivativeContributions =
typename TResidualsDerivatives::template SecondDerivatives<TDirectionIndex>;
80 static constexpr IndexType ElementDataContainerIndex = 0;
82 static constexpr IndexType ResidualColumnOffset = 0;
This is traits clas sto hold combined data containers and calculation containers.
Definition: fluid_adjoint_derivatives.h:234
Traits class to hold QSVMS adjoint element data.
Definition: qs_vms_adjoint_element_data.h:56
std::conditional_t< TDim==2, CalculationContainerTraits< std::tuple< Data >, std::tuple< SubAssembly< AccelerationDerivativeContributions< 0 >, ElementDataContainerIndex, 0, ResidualColumnOffset >, SubAssembly< AccelerationDerivativeContributions< 1 >, ElementDataContainerIndex, 1, ResidualColumnOffset >, SubAssembly< ZeroDerivatives< TNumNodes, 3 >, ElementDataContainerIndex, 2, ResidualColumnOffset > > >, CalculationContainerTraits< std::tuple< Data >, std::tuple< SubAssembly< AccelerationDerivativeContributions< 0 >, ElementDataContainerIndex, 0, ResidualColumnOffset >, SubAssembly< AccelerationDerivativeContributions< 1 >, ElementDataContainerIndex, 1, ResidualColumnOffset >, SubAssembly< AccelerationDerivativeContributions< 2 >, ElementDataContainerIndex, 2, ResidualColumnOffset >, SubAssembly< ZeroDerivatives< TNumNodes, 4 >, ElementDataContainerIndex, 3, ResidualColumnOffset > > > > ResidualStateVariableSecondDerivatives
This holds the traits for the analytical second derivative computations.
Definition: qs_vms_adjoint_element_data.h:149
std::conditional_t< TDim==2, CalculationContainerTraits< std::tuple< Data >, std::tuple< SubAssembly< VelocityDerivativeContributions< 0 >, ElementDataContainerIndex, 0, ResidualColumnOffset >, SubAssembly< VelocityDerivativeContributions< 1 >, ElementDataContainerIndex, 1, ResidualColumnOffset >, SubAssembly< PressureDerivativeContributions, ElementDataContainerIndex, 2, ResidualColumnOffset > > >, CalculationContainerTraits< std::tuple< Data >, std::tuple< SubAssembly< VelocityDerivativeContributions< 0 >, ElementDataContainerIndex, 0, ResidualColumnOffset >, SubAssembly< VelocityDerivativeContributions< 1 >, ElementDataContainerIndex, 1, ResidualColumnOffset >, SubAssembly< VelocityDerivativeContributions< 2 >, ElementDataContainerIndex, 2, ResidualColumnOffset >, SubAssembly< PressureDerivativeContributions, ElementDataContainerIndex, 3, ResidualColumnOffset > > > > ResidualStateVariableFirstDerivatives
This holds the container traits for analytical first derivative computations.
Definition: qs_vms_adjoint_element_data.h:126
std::conditional_t< TDim==2, CalculationContainerTraits< std::tuple< Data >, std::tuple< SubAssembly< ShapeDerivatives< 0 >, ElementDataContainerIndex, 0, ResidualColumnOffset >, SubAssembly< ShapeDerivatives< 1 >, ElementDataContainerIndex, 1, ResidualColumnOffset > > >, CalculationContainerTraits< std::tuple< Data >, std::tuple< SubAssembly< ShapeDerivatives< 0 >, ElementDataContainerIndex, 0, ResidualColumnOffset >, SubAssembly< ShapeDerivatives< 1 >, ElementDataContainerIndex, 1, ResidualColumnOffset >, SubAssembly< ShapeDerivatives< 2 >, ElementDataContainerIndex, 2, ResidualColumnOffset > > > > ResidualShapeDerivatives
This holds the traits for the analytical shape derivative computations.
Definition: qs_vms_adjoint_element_data.h:171
Definition: qs_vms_residual_derivatives.h:483
Computes residual contributions.
Definition: qs_vms_residual_derivatives.h:117
Computes the QSVMS residual derivatives.
Definition: qs_vms_residual_derivatives.h:50
Assembles sub-vectors to element vectors and matrices.
Definition: fluid_adjoint_derivatives.h:83
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21