DUNE-ACFEM (unstable)

Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping > Struct Template Reference

Helper traits-class, defining likely quadrature types for mass-lumping. More...

#include <dune/acfem/common/quadrature.hh>

+ Collaboration diagram for Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping >:

Public Types

typedef BaseType::GridPartType GridPartType
 Exported template argument. More...
 
typedef BaseType::BulkQuadratureType BulkQuadratureType
 The quadrature to use for integrating over bulk elements. More...
 
typedef BaseType::FaceQuadratureType FaceQuadratureType
 The quadrature to use for integrating over faces. More...
 
using BulkMassQuadratureType = ConditionalType< bulkLumping, Fem::CachingLumpingQuadrature< GridPartType, 0 >, typename BaseType::BulkMassQuadratureType >
 Provides a lumping quadrature type in order to do mass-lumping.
 
using FaceMassQuadratureType = ConditionalType< faceLumping, Fem::CachingLumpingQuadrature< GridPartType, 1 >, typename BaseType::FaceMassQuadratureType >
 Potentially provides a lumping quadrature for faces, if the template argument faceLumpingh is set to true. More...
 
template<bool conforming>
using IntersectionMassQuadrature = Fem::IntersectionQuadrature< FaceMassQuadratureType, conforming >
 Template type for conforming/non-conforming intersections for mass contributions. More...
 
template<bool conforming>
using IntersectionQuadrature = Fem::IntersectionQuadrature< FaceQuadratureType, conforming >
 Template type for conforming/non-conforming intersections. More...
 

Static Public Attributes

static const bool hasMassQuadrature = bulkLumping
 Indicates that BulkMassQudratureType provides a lumping quadrature.
 
static const bool hasFaceMassQuadrature = faceLumping
 Set to true if FaceMassQuadrature differs from FaceQuadratureType and provides a lumping quadrature type.
 

Detailed Description

template<class GridPart, bool bulkLumping, bool faceLumping>
struct Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping >

Helper traits-class, defining likely quadrature types for mass-lumping.

The default is not to lump face quadratures.

Parameters
[in]GridPartTypeType of the underlying grid.
[in]faceLumpingReally want also to use mass-lumping on faces?

Member Typedef Documentation

◆ BulkQuadratureType

template<class GridPart , bool bulkLumping, bool faceLumping>
typedef BaseType::BulkQuadratureType Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping >::BulkQuadratureType

The quadrature to use for integrating over bulk elements.

◆ FaceMassQuadratureType

template<class GridPart , bool bulkLumping, bool faceLumping>
using Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping >::FaceMassQuadratureType = ConditionalType<faceLumping, Fem::CachingLumpingQuadrature<GridPartType, 1>, typename BaseType::FaceMassQuadratureType>

Potentially provides a lumping quadrature for faces, if the template argument faceLumpingh is set to true.

In this case hasFaceMassQuadratureType is set to true.

◆ FaceQuadratureType

template<class GridPart , bool bulkLumping, bool faceLumping>
typedef BaseType::FaceQuadratureType Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping >::FaceQuadratureType

The quadrature to use for integrating over faces.

◆ GridPartType

template<class GridPart , bool bulkLumping, bool faceLumping>
typedef BaseType::GridPartType Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping >::GridPartType

Exported template argument.

◆ IntersectionMassQuadrature

template<class GridPart , bool bulkLumping, bool faceLumping>
template<bool conforming>
using Dune::ACFem::MaybeLumpingQuadratureTraits< GridPart, bulkLumping, faceLumping >::IntersectionMassQuadrature = Fem::IntersectionQuadrature<FaceMassQuadratureType, conforming>

Template type for conforming/non-conforming intersections for mass contributions.

◆ IntersectionQuadrature

template<class GridPart , bool bulkLumping, bool faceLumping>
template<bool conforming>
using Dune::ACFem::DefaultQuadratureTraits< GridPart >::IntersectionQuadrature = Fem::IntersectionQuadrature<FaceQuadratureType, conforming>

Template type for conforming/non-conforming intersections.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 27, 23:30, 2024)