Interface for algebraic space objects.
More...
#include <core/alien/data/ISpace.h>
|
| virtual | ~ISpace () |
| | Free resources.
|
| virtual bool | operator== (const ISpace &space) const =0 |
| | Comparison operator.
|
| virtual bool | operator!= (const ISpace &space) const =0 |
| | Comparison operator.
|
| virtual Arccore::Integer | size () const =0 |
| | Get space size.
|
| virtual const Arccore::String & | name () const =0 |
| | Get space name.
|
| virtual void | setField (Arccore::String label, const Arccore::UniqueArray< Arccore::Integer > &indices)=0 |
| | Set label on matrix entries.
|
| virtual Arccore::Integer | nbField () const =0 |
| | Get the number of fields.
|
| virtual Arccore::String | fieldLabel (Arccore::Integer i) const =0 |
| | Get the label of the i-th field.
|
| virtual const Arccore::UniqueArray< Arccore::Integer > & | field (Arccore::Integer i) const =0 |
| | Get indices associated to the i-th field \para[in] i The requested field.
|
| virtual const Arccore::UniqueArray< Arccore::Integer > & | field (Arccore::String label) const =0 |
| | Get the indices associated to a label.
|
| virtual std::shared_ptr< ISpace > | clone () const =0 |
| | Clone this object.
|
Interface for algebraic space objects.
Definition at line 43 of file ISpace.h.
◆ ISpace()
| Alien::ISpace::ISpace |
( |
| ) |
|
|
inlineprotected |
◆ ~ISpace()
| virtual Alien::ISpace::~ISpace |
( |
| ) |
|
|
inlinevirtual |
Free resources.
Definition at line 61 of file ISpace.h.
◆ clone()
| virtual std::shared_ptr< ISpace > Alien::ISpace::clone |
( |
| ) |
const |
|
pure virtual |
◆ field() [1/2]
| virtual const Arccore::UniqueArray< Arccore::Integer > & Alien::ISpace::field |
( |
Arccore::Integer | i | ) |
const |
|
pure virtual |
Get indices associated to the i-th field \para[in] i The requested field.
- Returns
- The indices associated to the field
Implemented in Alien::Space.
◆ field() [2/2]
| virtual const Arccore::UniqueArray< Arccore::Integer > & Alien::ISpace::field |
( |
Arccore::String | label | ) |
const |
|
pure virtual |
Get the indices associated to a label.
- Parameters
-
| [in] | label | The requested label |
- Returns
- The indices associated to the field
Implemented in Alien::Space.
◆ fieldLabel()
| virtual Arccore::String Alien::ISpace::fieldLabel |
( |
Arccore::Integer | i | ) |
const |
|
pure virtual |
Get the label of the i-th field.
- Parameters
-
- Returns
- The associated label
Implemented in Alien::Space.
◆ name()
| virtual const Arccore::String & Alien::ISpace::name |
( |
| ) |
const |
|
pure virtual |
◆ nbField()
| virtual Arccore::Integer Alien::ISpace::nbField |
( |
| ) |
const |
|
pure virtual |
◆ operator!=()
| virtual bool Alien::ISpace::operator!= |
( |
const ISpace & | space | ) |
const |
|
pure virtual |
◆ operator==()
| virtual bool Alien::ISpace::operator== |
( |
const ISpace & | space | ) |
const |
|
pure virtual |
◆ setField()
| virtual void Alien::ISpace::setField |
( |
Arccore::String | label, |
|
|
const Arccore::UniqueArray< Arccore::Integer > & | indices ) |
|
pure virtual |
Set label on matrix entries.
- Parameters
-
| [in] | label | The name of the label |
| [in] | indices | The indices to which label is set |
Implemented in Alien::Space.
◆ size()
| virtual Arccore::Integer Alien::ISpace::size |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: