LifeV
QRAdapterNeverAdapt Class Reference

#include <QRAdapterNeverAdapt.hpp>

+ Inheritance diagram for QRAdapterNeverAdapt:
+ Collaboration diagram for QRAdapterNeverAdapt:

Public Types

typedef QRAdapterBase< QRAdapterNeverAdaptbase_Type
 
- Public Types inherited from QRAdapterBase< QRAdapterNeverAdapt >
typedef QRAdapterNeverAdapt implementation_Type
 

Private Attributes

QuadratureRule M_qr
 

Constructor & Destructor

 QRAdapterNeverAdapt (const QuadratureRule &qr)
 Constructor with a quadrature rule. More...
 
 QRAdapterNeverAdapt (const QRAdapterNeverAdapt &qrAdapter)
 Copy constructor. More...
 
 ~QRAdapterNeverAdapt ()
 Simple destructor. More...
 

Methods

static void update (UInt)
 Update this structure with the current element. More...
 

Get Methods

const QuadratureRulestandardQR () const
 Getter for the non-adapted quadrature. More...
 
const QuadratureRuleadaptedQR () const
 Getter for the adapted quadrature. More...
 
static bool isAdaptedElement ()
 Do we need the adapted quadrature rule? More...
 

Private Methods

 QRAdapterNeverAdapt ()
 No default constructor. More...
 

Additional Inherited Members

- Public Member Functions inherited from QRAdapterBase< QRAdapterNeverAdapt >
 QRAdapterBase ()
 Empty and only constructor. More...
 
virtual ~QRAdapterBase ()
 Destructor. More...
 
const implementation_Typeimplementation () const
 Method for accessing the actual implementation contained. More...
 

Detailed Description

Definition at line 57 of file QRAdapterNeverAdapt.hpp.

Member Typedef Documentation

◆ base_Type

Definition at line 61 of file QRAdapterNeverAdapt.hpp.

Constructor & Destructor Documentation

◆ QRAdapterNeverAdapt() [1/3]

QRAdapterNeverAdapt ( const QuadratureRule qr)
inline

Constructor with a quadrature rule.

Definition at line 67 of file QRAdapterNeverAdapt.hpp.

◆ QRAdapterNeverAdapt() [2/3]

QRAdapterNeverAdapt ( const QRAdapterNeverAdapt qrAdapter)
inline

Copy constructor.

Definition at line 70 of file QRAdapterNeverAdapt.hpp.

◆ ~QRAdapterNeverAdapt()

~QRAdapterNeverAdapt ( )
inline

Simple destructor.

Definition at line 73 of file QRAdapterNeverAdapt.hpp.

◆ QRAdapterNeverAdapt() [3/3]

QRAdapterNeverAdapt ( )
private

No default constructor.

Member Function Documentation

◆ update()

static void update ( UInt  )
inlinestatic

Update this structure with the current element.

Usually, it does some computations, but here, nothing! This method is static, even if in general, this is not the case... We just give more information to the compiler so that it can better optimize the code.

Definition at line 88 of file QRAdapterNeverAdapt.hpp.

◆ isAdaptedElement()

static bool isAdaptedElement ( )
inlinestatic

Do we need the adapted quadrature rule?

We never need it! Remark that we put here this method as static, while this is not what one want in general. In this way, we simply give stronger hints to the compiler.

Definition at line 109 of file QRAdapterNeverAdapt.hpp.

◆ standardQR()

const QuadratureRule& standardQR ( ) const
inline

Getter for the non-adapted quadrature.

Definition at line 115 of file QRAdapterNeverAdapt.hpp.

◆ adaptedQR()

const QuadratureRule& adaptedQR ( ) const
inline

Getter for the adapted quadrature.

In this case, it should never happen!

Definition at line 124 of file QRAdapterNeverAdapt.hpp.

Field Documentation

◆ M_qr

QuadratureRule M_qr
private

Definition at line 143 of file QRAdapterNeverAdapt.hpp.


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