concepts::Orders< number > Class Template Reference

Class combining polynomial order and number of quadrature points. More...

#include <karniadakis.hh>

Public Member Functions

bool operator< (const Orders< number > &o) const
 < operator More...
 
bool operator== (const Orders< number > &o) const
 Equality operator. More...
 
 Orders ()
 Default constructor. More...
 
 Orders (const int p0, const int P, const int p1=0, const int p2=0)
 Constructor. More...
 
int p (const uint i) const
 Returns ith polynomial degree. More...
 

Private Attributes

int p_ [number]
 Polynomial orders. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const Orders< number > &o)
 

Detailed Description

template<int number>
class concepts::Orders< number >

Class combining polynomial order and number of quadrature points.

See also
Karniadakis
Author
Philipp Frauenfelder, 2000

Definition at line 40 of file karniadakis.hh.

Constructor & Destructor Documentation

◆ Orders() [1/2]

template<int number>
concepts::Orders< number >::Orders ( )

Default constructor.

◆ Orders() [2/2]

template<int number>
concepts::Orders< number >::Orders ( const int  p0,
const int  P,
const int  p1 = 0,
const int  p2 = 0 
)

Constructor.

Member Function Documentation

◆ operator<()

template<int number>
bool concepts::Orders< number >::operator< ( const Orders< number > &  o) const
inline

< operator

Definition at line 82 of file karniadakis.hh.

◆ operator==()

template<int number>
bool concepts::Orders< number >::operator== ( const Orders< number > &  o) const
inline

Equality operator.

Definition at line 74 of file karniadakis.hh.

◆ p()

template<int number>
int concepts::Orders< number >::p ( const uint  i) const
inline

Returns ith polynomial degree.

Definition at line 68 of file karniadakis.hh.

Friends And Related Function Documentation

◆ operator<<

template<int number>
std::ostream& operator<< ( std::ostream &  os,
const Orders< number > &  o 
)
friend

Definition at line 43 of file karniadakis.hh.

Member Data Documentation

◆ p_

template<int number>
int concepts::Orders< number >::p_[number]
private

Polynomial orders.

Definition at line 89 of file karniadakis.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich