Array of formula values on quadrature points. More...
#include <formula.hh>
 
  
| Public Member Functions | |
| ArrayElementFormula () | |
| ArrayElementFormula (const BaseElement< Real > &elm, const concepts::ElementFormulaContainer< F > frm) | |
| Constructor with calling of compute. | |
| void | compute (const BaseElement< Real > &elm, const concepts::ElementFormulaContainer< F > frm) | 
| void | resize (const uint sz) | 
| void | resizePreserve (const uint sz) | 
| void | zeros () | 
| Fills the memory with zeros. | |
| operator F* () | |
| Returns a pointer to the array. | |
| operator const F * () const | |
| Returns a pointer to the array. | |
| const F & | operator[] (const int i) const | 
| Index operator. | |
| F & | operator[] (const int i) | 
| Index operator. | |
| template<class G > | |
| Array< F > & | operator*= (const G n) | 
| Scaling operator. | |
| template<class H > | |
| Array< F > & | operator*= (const Array< H > &a) | 
| Multiplication operator. | |
| Array< F > & | operator+= (const F n) | 
| Addition operator. | |
| template<class H > | |
| Array< F > & | operator+= (const Array< H > &a) | 
| Addition operator. | |
| Array< F > & | operator-= (const F n) | 
| Subtraction operator. | |
| template<class H > | |
| Array< F > & | operator-= (const Array< H > &a) | 
| Subtraction operator. | |
| Array< F > | operator- () const | 
| Negation operator. | |
| Array< F > & | apply (F &fnc(F &)) | 
| template<class H > | |
| Array< F > & | apply (const Array< H > &a, F fnc(const H &)) | 
| template<class H > | |
| Array< F > & | apply (const Array< H > &a, F fnc(const H &, const F &)) | 
| uint | size () const | 
| Returns the requested size of the array. | |
| uint | cursize () const | 
| Returns the size of the allocated memory. | |
| int | memory () const | 
| Returns the memory usage in bytes. | |
| Array< F > & | reverse () | 
| Reverse the order of the entries. | |
| std::ostream & | info (std::ostream &os) const | 
| Protected Attributes | |
| F * | data_ | 
| Data. | |
| uint | size_ | 
| Current real size of the array. | |
| uint | n_ | 
| Requested size of the array. | |
Array of formula values on quadrature points.
Definition at line 58 of file formula.hh.
| hp1D::ArrayElementFormula< F >::ArrayElementFormula | ( | ) | 
| hp1D::ArrayElementFormula< F >::ArrayElementFormula | ( | const BaseElement< Real > & | elm, | 
| const concepts::ElementFormulaContainer< F > | frm | ||
| ) | 
Constructor with calling of compute. 
Definition at line 81 of file formula.hh.
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| void hp1D::ArrayElementFormula< F >::compute | ( | const BaseElement< Real > & | elm, | 
| const concepts::ElementFormulaContainer< F > | frm | ||
| ) | 
Evaluates the formula frm on all quadrature points of element elm. 
| 
 | inlineinherited | 
| 
 | inherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inlineinherited | 
| 
 | inherited | 
| 
 | inherited | 
| 
 | inherited | 
| 
 | inlineinherited | 
Returns the requested size of the array.
| 
 | inlineinherited | 
| 
 | protectedinherited | 
| 
 | protectedinherited | 
| 
 | protectedinherited |