Internal structure of Space object.
More...
|
| | Internal (Integer size, String name) |
| | Full constructor.
|
| | Internal (Integer size) |
| | Size constructor.
|
| Integer | size () const |
| | Get space size.
|
| const String & | name () const |
| | Get space name.
|
| void | setField (String label, const UniqueArray< Arccore::Integer > &indices) |
| | Set label on matrix entries.
|
| Integer | nbField () const |
| | Get the number of fields.
|
| const UniqueArray< Arccore::Integer > & | field (String label) const |
| | Get the indices associated to a label.
|
| const UniqueArray< Arccore::Integer > & | field (Integer i) const |
| | Get indices associated to the i-th field \para[in] i The requested field.
|
| String | fieldLabel (Integer i) const |
| | Get the label of the i-th field.
|
|
| Integer | m_size |
| | The size of the space.
|
| String | m_name |
| | The name of the space.
|
| std::map< String, UniqueArray< Arccore::Integer > > | m_fields |
| | Mapping label to indices.
|
| UniqueArray< String > | m_labels |
| | Direct acces for labels.
|
Internal structure of Space object.
Definition at line 48 of file Space.cc.
◆ Internal() [1/2]
| Alien::Space::Internal::Internal |
( |
Integer | size, |
|
|
String | name ) |
|
inline |
◆ Internal() [2/2]
| Alien::Space::Internal::Internal |
( |
Integer | size | ) |
|
|
inline |
◆ field() [1/2]
| const UniqueArray< Arccore::Integer > & Alien::Space::Internal::field |
( |
Integer | i | ) |
const |
|
inline |
Get indices associated to the i-th field \para[in] i The requested field.
- Returns
- The indices associated to the field
Definition at line 123 of file Space.cc.
References field(), and m_labels.
◆ field() [2/2]
| const UniqueArray< Arccore::Integer > & Alien::Space::Internal::field |
( |
String | label | ) |
const |
|
inline |
Get the indices associated to a label.
- Parameters
-
| [in] | label | The requested label |
- Returns
- The indices associated to the field
Definition at line 110 of file Space.cc.
References field(), and m_fields.
Referenced by field(), and field().
◆ fieldLabel()
| String Alien::Space::Internal::fieldLabel |
( |
Integer | i | ) |
const |
|
inline |
Get the label of the i-th field.
- Parameters
-
- Returns
- The associated label
Definition at line 133 of file Space.cc.
References m_labels.
◆ name()
| const String & Alien::Space::Internal::name |
( |
| ) |
const |
|
inline |
◆ nbField()
| Integer Alien::Space::Internal::nbField |
( |
| ) |
const |
|
inline |
Get the number of fields.
- Returns
- The number of fields (labels)
Definition at line 103 of file Space.cc.
References m_fields.
◆ setField()
| void Alien::Space::Internal::setField |
( |
String | label, |
|
|
const UniqueArray< Arccore::Integer > & | indices ) |
|
inline |
Set label on matrix entries.
- Parameters
-
| [in] | label | The name of the label |
| [in] | indices | The indices to which label is set |
Definition at line 91 of file Space.cc.
References m_fields, and m_labels.
◆ size()
| Integer Alien::Space::Internal::size |
( |
| ) |
const |
|
inline |
◆ m_fields
| std::map<String, UniqueArray<Arccore::Integer> > Alien::Space::Internal::m_fields |
|
private |
◆ m_labels
| UniqueArray<String> Alien::Space::Internal::m_labels |
|
private |
◆ m_name
| String Alien::Space::Internal::m_name |
|
private |
◆ m_size
| Integer Alien::Space::Internal::m_size |
|
private |
The documentation for this class was generated from the following file: