vectorial::ElementBase< ElementType > Class Template Reference
Base class for vector valued element. More...
#include <vectorial.hh>
Public Types | |
typedef ElementType::type | F |
Public Member Functions | |
ElementBase (uint vdim, uint arrayWidth, std::string name="ElementBase") | |
virtual const ElementType * | get (const int a, const int b=0) const |
Get a component. More... | |
virtual const Graphics< F > * | graphics () const |
virtual void | insert (ElementType &vdata, const int a=0, const int b=0) |
Add a component. More... | |
virtual void | put (ElementType &em, const int dim, const int b=0) |
Insert element em into the vector valued element. More... | |
virtual vectorial::TMatrix< F > & | T () const |
uint | vdim () const |
Returns number of components. More... | |
virtual | ~ElementBase () |
Static Public Member Functions | |
static Graphics< F > * | vecGraphics () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
uint | idx_ |
Index of the last added component. More... | |
std::unique_ptr< vectorial::TMatrix< F > > | T_ |
T matrix for the vector valued element. More... | |
concepts::Array< ElementType * > | vdata_ |
Storage. More... | |
uint | vdim_ |
Number of components. More... | |
Private Attributes | |
std::string | name_ |
Name of the class for output. More... | |
Static Private Attributes | |
static std::unique_ptr< Graphics< F > > | graphics_ |
Detailed Description
template<class ElementType>
class vectorial::ElementBase< ElementType >
Base class for vector valued element.
Definition at line 224 of file vectorial.hh.
Member Typedef Documentation
◆ F
typedef ElementType::type vectorial::ElementBase< ElementType >::F |
Definition at line 227 of file vectorial.hh.
Constructor & Destructor Documentation
◆ ElementBase()
|
inline |
Definition at line 229 of file vectorial.hh.
◆ ~ElementBase()
|
virtual |
Member Function Documentation
◆ get()
|
inlinevirtualinherited |
Get a component.
Definition at line 74 of file vectorial.hh.
◆ graphics()
|
inlinevirtual |
Definition at line 243 of file vectorial.hh.
◆ info()
|
protectedvirtual |
◆ insert()
|
virtualinherited |
Add a component.
Definition at line 72 of file vectorial.hh.
◆ put()
|
virtual |
Insert element em
into the vector valued element.
This also creates the T matrix T_
of this element.
- Parameters
-
dim Number of global degrees of freedom (size of the subspace)
Reimplemented in vectorial::ElementWithCell< F >.
◆ T()
|
inlinevirtual |
Definition at line 242 of file vectorial.hh.
◆ vdim()
|
inlineinherited |
Returns number of components.
Definition at line 77 of file vectorial.hh.
◆ vecGraphics()
|
inlinestatic |
Definition at line 248 of file vectorial.hh.
Member Data Documentation
◆ graphics_
|
staticprivate |
Definition at line 258 of file vectorial.hh.
◆ idx_
|
protectedinherited |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
◆ name_
|
private |
Name of the class for output.
Definition at line 260 of file vectorial.hh.
◆ T_
|
protected |
T matrix for the vector valued element.
Definition at line 256 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