A shared variable list gives the position of each variable in the containers sharing it.
More...
|
|
| VariablesListDataValueContainer (SizeType NewQueueSize=1) |
| Default constructor. More...
|
|
| VariablesListDataValueContainer (VariablesListDataValueContainer const &rOther) |
| Copy constructor. More...
|
|
| VariablesListDataValueContainer (VariablesList::Pointer pVariablesList, SizeType NewQueueSize=1) |
| Variables list constructor. More...
|
|
| VariablesListDataValueContainer (VariablesList::Pointer pVariablesList, BlockType const *ThisData, SizeType NewQueueSize=1) |
| Variables list and data constructor. More...
|
|
| ~VariablesListDataValueContainer () |
| Destructor. More...
|
|
|
template<class TDataType > |
TDataType & | operator() (const Variable< TDataType > &rThisVariable) |
|
template<class TDataType > |
TDataType & | operator() (const Variable< TDataType > &rThisVariable, SizeType QueueIndex) |
|
template<class TDataType > |
const TDataType & | operator() (const Variable< TDataType > &rThisVariable) const |
|
template<class TDataType > |
const TDataType & | operator() (const Variable< TDataType > &rThisVariable, SizeType QueueIndex) const |
|
template<class TDataType > |
TDataType & | operator[] (const Variable< TDataType > &rThisVariable) |
|
template<class TDataType > |
const TDataType & | operator[] (const Variable< TDataType > &rThisVariable) const |
|
VariablesListDataValueContainer & | operator= (const VariablesListDataValueContainer &rOther) |
| Assignment operator. More...
|
|
|
template<class TDataType > |
TDataType & | GetValue (const Variable< TDataType > &rThisVariable) |
|
template<class TDataType > |
TDataType & | GetValue (const Variable< TDataType > &rThisVariable, SizeType QueueIndex) |
|
template<class TDataType > |
const TDataType & | GetValue (const Variable< TDataType > &rThisVariable) const |
|
template<class TDataType > |
const TDataType & | GetValue (const Variable< TDataType > &rThisVariable, SizeType QueueIndex) const |
|
template<class TDataType > |
TDataType & | FastGetValue (const Variable< TDataType > &rThisVariable) |
|
template<class TDataType > |
TDataType * | pFastGetValue (const Variable< TDataType > &rThisVariable) |
|
template<class TDataType > |
TDataType & | FastGetValue (const Variable< TDataType > &rThisVariable, SizeType QueueIndex) |
|
template<class TDataType > |
TDataType & | FastGetValue (const Variable< TDataType > &rThisVariable, SizeType QueueIndex, SizeType ThisPosition) |
|
template<class TDataType > |
TDataType & | FastGetCurrentValue (const Variable< TDataType > &rThisVariable, SizeType ThisPosition) |
|
template<class TDataType > |
const TDataType & | FastGetValue (const Variable< TDataType > &rThisVariable) const |
|
template<class TDataType > |
const TDataType * | pFastGetValue (const Variable< TDataType > &rThisVariable) const |
|
template<class TDataType > |
const TDataType & | FastGetValue (const Variable< TDataType > &rThisVariable, SizeType QueueIndex) const |
|
template<class TDataType > |
const TDataType & | FastGetValue (const Variable< TDataType > &rThisVariable, SizeType QueueIndex, SizeType ThisPosition) const |
|
template<class TDataType > |
const TDataType & | FastGetCurrentValue (const Variable< TDataType > &rThisVariable, SizeType ThisPosition) const |
|
SizeType | Size () const |
|
SizeType | QueueSize () const |
|
SizeType | TotalSize () const |
|
template<class TDataType > |
void | SetValue (const Variable< TDataType > &rThisVariable, TDataType const &rValue) |
|
template<class TDataType > |
void | SetValue (const Variable< TDataType > &rThisVariable, TDataType const &rValue, SizeType QueueIndex) |
|
void | Clear () |
|
|
VariablesList::Pointer | pGetVariablesList () |
|
const VariablesList::Pointer | pGetVariablesList () const |
|
VariablesList & | GetVariablesList () |
|
const VariablesList & | GetVariablesList () const |
|
void | SetVariablesList (VariablesList::Pointer pVariablesList) |
|
void | SetVariablesList (VariablesList::Pointer pVariablesList, SizeType ThisQueueSize) |
|
void | Resize (SizeType NewSize) |
|
BlockType * | Data () |
|
const BlockType * | Data () const |
|
BlockType * | Data (SizeType QueueIndex) |
|
BlockType * | Data (VariableData const &rThisVariable) |
|
SizeType | DataSize () |
|
SizeType | TotalDataSize () |
|
void | AssignData (BlockType *Source, SizeType QueueIndex) |
|
void | CloneFront () |
|
void | PushFront () |
|
void | AssignZero () |
|
void | AssignZero (const SizeType QueueIndex) |
|
|
bool | Has (const VariableData &rThisVariable) const |
| This method returns if a certain variable is stored in the data value container. More...
|
|
bool | IsEmpty () |
|
|
std::string | Info () const |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const |
| Print object's data. More...
|
|
A shared variable list gives the position of each variable in the containers sharing it.
The mechanism is very simple. There is an array which stores the local offset for each variable in the container and assigns the value−1 for the rest of the variables For more details see P. Dadvand, R. Rossi, E. Oñate: An Object-oriented Environment for Developing Finite Element Codes for Multi-disciplinary Applications. Computational Methods in Engineering. 2010
- Author
- Pooyan Dadvand
-
Riccardo Rossi