|
|
| Properties (IndexType NewId=0) |
| Default constructor. More...
|
|
| Properties (IndexType NewId, const SubPropertiesContainerType &SubPropertiesList) |
| Default of properties with subproperties. More...
|
|
| Properties (const Properties &rOther) |
| Copy constructor. More...
|
|
| ~Properties () override |
| Destructor. More...
|
|
|
Properties & | operator= (const Properties &rOther) |
| Assignment operator. More...
|
|
template<class TVariableType > |
TVariableType::Type & | operator() (const TVariableType &rV) |
|
template<class TVariableType > |
TVariableType::Type const & | operator() (const TVariableType &rV) const |
|
template<class TVariableType > |
TVariableType::Type & | operator[] (const TVariableType &rV) |
|
template<class TVariableType > |
TVariableType::Type const & | operator[] (const TVariableType &rV) const |
|
template<class TVariableType > |
TVariableType::Type & | operator() (const TVariableType &rV, Node &rThisNode) |
|
template<class TVariableType > |
TVariableType::Type const & | operator() (const TVariableType &rV, Node const &rThisNode) const |
|
template<class TVariableType > |
TVariableType::Type & | operator() (const TVariableType &rV, Node &rThisNode, IndexType SolutionStepIndex) |
|
template<class TVariableType > |
TVariableType::Type const & | operator() (const TVariableType &rV, Node const &rThisNode, IndexType SolutionStepIndex) const |
|
template<class TVariableType > |
TVariableType::Type & | operator() (const TVariableType &rV, Node &rThisNode, ProcessInfo const &rCurrentProcessInfo) |
|
template<class TVariableType > |
TVariableType::Type const & | operator() (const TVariableType &rV, Node const &rThisNode, ProcessInfo const &rCurrentProcessInfo) const |
|
|
template<class TVariableType > |
void | Erase (const TVariableType &rV) |
|
template<class TVariableType > |
TVariableType::Type & | GetValue (const TVariableType &rVariable) |
|
template<class TVariableType > |
TVariableType::Type const & | GetValue (const TVariableType &rVariable) const |
|
template<class TVariableType > |
TVariableType::Type & | GetValue (const TVariableType &rVariable, Node &rThisNode) |
|
template<class TVariableType > |
TVariableType::Type const & | GetValue (const TVariableType &rVariable, Node const &rThisNode) const |
|
template<class TVariableType > |
TVariableType::Type & | GetValue (const TVariableType &rVariable, Node &rThisNode, IndexType SolutionStepIndex) |
|
template<class TVariableType > |
TVariableType::Type const & | GetValue (const TVariableType &rVariable, Node const &rThisNode, IndexType SolutionStepIndex) const |
|
template<class TVariableType > |
TVariableType::Type | GetValue (const TVariableType &rVariable, const GeometryType &rGeometry, const Vector &rShapeFunctionVector, const ProcessInfo &rProcessInfo) const |
|
template<class TVariableType > |
void | SetValue (TVariableType const &rV, typename TVariableType::Type const &rValue) |
|
bool | HasVariables () const |
|
template<class TVariableType > |
void | SetAccessor (const TVariableType &rVariable, AccessorPointerType pAccessor) |
| Set the Accessor object This method sets a variable-accessor pair in current properties accessor container. More...
|
|
template<class TVariableType > |
Accessor & | GetAccessor (const TVariableType &rVariable) |
| Get the Accessor object If exists, this method returns a pointer to the requested variable accessor If doesn't exist, the method throws an error. More...
|
|
template<class TVariableType > |
Accessor & | GetAccessor (const TVariableType &rVariable) const |
| Get the Accessor object If exists, this method returns a pointer to the requested variable accessor If doesn't exist, the method throws an error. More...
|
|
template<class TVariableType > |
AccessorPointerType & | pGetAccessor (const TVariableType &rVariable) |
| Get the Accessor object If exists, this method returns a pointer to the requested variable accessor If doesn't exist, the method throws an error. More...
|
|
template<class TVariableType > |
bool | HasAccessor (const TVariableType &rVariable) const |
| Check if current properties have an accessor This method checks if current properties have an accessor for the requested variable. More...
|
|
template<class TXVariableType , class TYVariableType > |
TableType & | GetTable (const TXVariableType &XVariable, const TYVariableType &YVariable) |
|
template<class TXVariableType , class TYVariableType > |
TableType const & | GetTable (const TXVariableType &XVariable, const TYVariableType &YVariable) const |
|
template<class TXVariableType , class TYVariableType > |
void | SetTable (const TXVariableType &XVariable, const TYVariableType &YVariable, TableType const &rThisTable) |
|
bool | HasTables () const |
|
bool | IsEmpty () const |
|
int64_t | Key (std::size_t XKey, std::size_t YKey) const |
|
std::size_t | NumberOfSubproperties () const |
| This method returns the number of subproperties. More...
|
|
void | AddSubProperties (Properties::Pointer pNewSubProperty) |
| This method insert a new property into the list of subproperties. More...
|
|
bool | HasSubProperties (const IndexType SubPropertyIndex) const |
| This method checks if the subproperty exists from the index corresponding to the property id. More...
|
|
Properties::Pointer | pGetSubProperties (const IndexType SubPropertyIndex) |
| This method gets the subproperty from the index corresponding to the property id. More...
|
|
const Properties::Pointer | pGetSubProperties (const IndexType SubPropertyIndex) const |
| This method gets the subproperty from the index corresponding to the property id (constant version) More...
|
|
Properties & | GetSubProperties (const IndexType SubPropertyIndex) |
| This method gets the subproperty from the index corresponding to the property id. More...
|
|
const Properties & | GetSubProperties (const IndexType SubPropertyIndex) const |
| This method gets the subproperty from the index corresponding to the property id (constant version) More...
|
|
SubPropertiesContainerType & | GetSubProperties () |
| This method returns the whole list of subproperties. More...
|
|
SubPropertiesContainerType const & | GetSubProperties () const |
| This method returns the whole list of subproperties. More...
|
|
void | SetSubProperties (SubPropertiesContainerType &rSubPropertiesList) |
| This method set the whole list of subproperties. More...
|
|
|
ContainerType & | Data () |
| This method returns the whole data container. More...
|
|
ContainerType const & | Data () const |
| This method returns the whole data container (constant) More...
|
|
TablesContainerType & | Tables () |
| This method returns the tables. More...
|
|
TablesContainerType const & | Tables () const |
| This method returns the tables (constant) More...
|
|
|
template<class TVariableType > |
bool | Has (TVariableType const &rThisVariable) const |
|
template<class TXVariableType , class TYVariableType > |
bool | HasTable (const TXVariableType &XVariable, const TYVariableType &YVariable) const |
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
| IndexedObject (IndexType NewId=0) |
| Default constructor. More...
|
|
virtual | ~IndexedObject () |
| Destructor. More...
|
|
| IndexedObject (IndexedObject const &rOther) |
| Copy constructor. More...
|
|
IndexedObject & | operator= (IndexedObject const &rOther) |
| Assignment operator. More...
|
|
template<class TObjectType > |
IndexType | operator() (TObjectType const &rThisObject) const |
|
IndexType | Id () const |
|
IndexType | GetId () const |
|
virtual void | SetId (IndexType NewId) |
|
IndexType & | DepricatedIdAccess () |
| TODO: remove this function when removing data_file_io object. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (IndexedObject) |
| Pointer definition of IndexedObject. More...
|
|
Properties encapsulates data shared by different Elements or Conditions. It can store any type of data and provides a variable base access to them.
These are all parameters that can be shared between Element. Usually material parameters are common for a set of element, so this category of data is referred as properties. But in general it can be any common parameter for a group of Elements. Sharing these data as properties reduces the memory used by the application and also helps updating them if necessary. As mentioned before Properties is a shared data container between Elements or Conditions. In finite element problems there are several parameters which are the same for a set of elements and conditions. Thermal conductivity, elasticity of the material and viscosity of the fluid are examples of these parameters. Properties holds these data and is shared by elements or Conditions. This eliminates memory overhead due to redundant copies of these data for each element and Condition. Properties also can be used to access nodal data if it is necessary. It is important to mention that accessing the nodal data via Properties is not the same as accessing it via Node. When user asks Properties for a variable data in a Node, the process starts with finding the variable in the Properties data container and if it does not exist then get it from Node. This means that the priority of data is with the one stored in Properties and then in Node.
- Author
- Pooyan Dadvand