vectorial::SpaceOnCells< F > Class Template Referenceabstract
Vector valued space with elements on cells. More...
#include <vectorial.hh>
Public Types | |
typedef VectorialElementType< typename SpaceType::type >::type | ElementType |
typedef concepts::Scan< ElementType > | Scanner |
typedef ElementWithCell< F > | type |
Public Member Functions | |
virtual uint | dim () const |
virtual uint | dim () const =0 |
Returns the dimension of the space. More... | |
virtual const concepts::SpaceOnCells< F > * | get (const int a, const int b=0) const |
Get a component. More... | |
virtual uint | getOutputDimension () const |
Returns the default output dimension, when we consider plotting a real-valued operator on this space. More... | |
virtual void | insert (concepts::SpaceOnCells< F > &vdata, const int a=0, const int b=0) |
Add a component. More... | |
virtual uint | nelm () const |
virtual uint | nelm () const =0 |
Returns the number of elements in the space. More... | |
virtual void | put (concepts::SpaceOnCells< F > &spc, const int i=0, const int j=0) |
Insert a Space spc of one vectorial dimension to the next v-dimensional space (arguments i and j are ignored) More... | |
void | rebuild () |
Rebuilds the vectorial space from the scalar spaces. More... | |
virtual Scanner * | scan () const |
virtual Scanner * | scan () const =0 |
Returns a scanner to iterate over the elements of the space. More... | |
SpaceOnCells (const uint vdim, const uint arrayWidth=0) | |
uint | vdim () const |
Returns number of components. More... | |
virtual | ~SpaceOnCells () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
uint | idx_ |
Index of the last added component. More... | |
concepts::Array< concepts::SpaceOnCells< F > * > | vdata_ |
Storage. More... | |
uint | vdim_ |
Number of components. More... | |
Private Member Functions | |
void | buildElm_ (const concepts::SpaceOnCells< F > &spc, uint idx) |
Private Attributes | |
uint | dim_ |
concepts::Joiner< ElementType *, 1 > * | elm_ |
std::string | name_ |
Name of the class for output. More... | |
uint | nelm_ |
Detailed Description
template<class F>
class vectorial::SpaceOnCells< F >
Vector valued space with elements on cells.
Definition at line 492 of file vectorial.hh.
Member Typedef Documentation
◆ ElementType
|
inherited |
Definition at line 430 of file vectorial.hh.
◆ Scanner
|
inherited |
Definition at line 451 of file vectorial.hh.
◆ type
|
inherited |
Constructor & Destructor Documentation
◆ SpaceOnCells()
|
inline |
Definition at line 494 of file vectorial.hh.
◆ ~SpaceOnCells()
|
virtual |
Member Function Documentation
◆ buildElm_()
|
privateinherited |
◆ dim() [1/2]
|
inlinevirtualinherited |
Definition at line 449 of file vectorial.hh.
◆ dim() [2/2]
|
pure virtualinherited |
Returns the dimension of the space.
Implements concepts::Space< F >.
Implemented in hp2D::hpAdaptiveSpace< F >, hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, hp1D::Space, bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.
◆ get()
|
inlinevirtualinherited |
Get a component.
Definition at line 74 of file vectorial.hh.
◆ getOutputDimension()
|
inlinevirtualinherited |
◆ info()
|
protectedvirtualinherited |
Reimplemented from concepts::SpaceOnCells< F >.
◆ insert()
|
virtualinherited |
Add a component.
Definition at line 72 of file vectorial.hh.
◆ nelm() [1/2]
|
inlinevirtualinherited |
Definition at line 450 of file vectorial.hh.
◆ nelm() [2/2]
|
pure virtualinherited |
Returns the number of elements in the space.
Implements concepts::Space< F >.
Implemented in hp2D::hpAdaptiveSpace< F >, hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, hp1D::Space, bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.
◆ put()
|
virtualinherited |
Insert a Space spc of one vectorial dimension to the next v-dimensional space (arguments i
and j
are ignored)
◆ rebuild()
|
inherited |
Rebuilds the vectorial space from the scalar spaces.
◆ scan() [1/2]
|
virtualinherited |
◆ scan() [2/2]
|
pure virtualinherited |
Returns a scanner to iterate over the elements of the space.
Implements concepts::Space< F >.
Implemented in hp2D::hpAdaptiveSpace< F >, hp2D::hpAdaptiveSpace< Real >, hp3D::Space, hp2Dedge::Space, hp2D::Space, hp2D::hpAdaptiveSpace< Real >, hp1D::Space, bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.
◆ vdim()
|
inlineinherited |
Returns number of components.
Definition at line 77 of file vectorial.hh.
Member Data Documentation
◆ dim_
|
privateinherited |
Definition at line 464 of file vectorial.hh.
◆ elm_
|
privateinherited |
Definition at line 465 of file vectorial.hh.
◆ idx_
|
protectedinherited |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
◆ name_
|
privateinherited |
Name of the class for output.
Definition at line 467 of file vectorial.hh.
◆ nelm_
|
privateinherited |
Definition at line 464 of file vectorial.hh.
◆ vdata_
|
mutableprotectedinherited |
Storage.
Definition at line 84 of file vectorial.hh.
◆ vdim_
|
protectedinherited |
Number of components.
Definition at line 80 of file vectorial.hh.
The documentation for this class was generated from the following file:
- vectorial/vectorial.hh