|
|
| ProcessInfo () |
| Default constructor. More...
|
|
| ProcessInfo (const ProcessInfo &Other) |
| Copy constructor. More...
|
|
| ~ProcessInfo () override |
| Destructor. More...
|
|
|
ProcessInfo & | operator= (const ProcessInfo &rOther) |
| Assignment operator. More...
|
|
|
void | CreateTimeStepInfo (IndexType SolutionStepIndex=0) |
|
void | CloneTimeStepInfo (IndexType SolutionStepIndex=0) |
|
void | CloneTimeStepInfo (IndexType SolutionStepIndex, ProcessInfo const &SourceSolutionStepInfo) |
|
void | CreateTimeStepInfo (double NewTime, IndexType SolutionStepIndex=0) |
|
void | CloneTimeStepInfo (double NewTime, IndexType SourceSolutionStepIndex=0) |
|
void | CloneTimeStepInfo (double NewTime, IndexType SolutionStepIndex, ProcessInfo const &SourceSolutionStepInfo) |
|
void | SetAsTimeStepInfo () |
|
void | SetAsTimeStepInfo (double NewTime) |
|
ProcessInfo::Pointer | pGetPreviousTimeStepInfo (IndexType StepsBefore=1) |
|
const ProcessInfo::Pointer | pGetPreviousTimeStepInfo (IndexType StepsBefore=1) const |
|
ProcessInfo & | GetPreviousTimeStepInfo (IndexType StepsBefore=1) |
|
ProcessInfo const & | GetPreviousTimeStepInfo (IndexType StepsBefore=1) const |
|
IndexType | GetPreviousTimeStepIndex (IndexType StepsBefore=1) const |
|
|
void | SetCurrentTime (double NewTime) |
|
void | ReIndexBuffer (SizeType BufferSize, IndexType BaseIndex=0) |
|
|
void | CreateSolutionStepInfo (IndexType SolutionStepIndex=0) |
|
void | CloneSolutionStepInfo () |
|
void | CloneSolutionStepInfo (IndexType SourceSolutionStepIndex) |
|
void | CloneSolutionStepInfo (IndexType SolutionStepIndex, ProcessInfo const &SourceSolutionStepInfo) |
|
ProcessInfo & | FindSolutionStepInfo (IndexType ThisIndex) |
|
void | RemoveSolutionStepInfo (IndexType SolutionStepIndex) |
|
void | ClearHistory (IndexType StepsBefore=0) |
|
ProcessInfo::Pointer | pGetPreviousSolutionStepInfo (IndexType StepsBefore=1) |
|
const ProcessInfo::Pointer | pGetPreviousSolutionStepInfo (IndexType StepsBefore=1) const |
|
ProcessInfo & | GetPreviousSolutionStepInfo (IndexType StepsBefore=1) |
|
ProcessInfo const & | GetPreviousSolutionStepInfo (IndexType StepsBefore=1) const |
|
IndexType | GetPreviousSolutionStepIndex (IndexType StepsBefore=1) const |
|
|
IndexType | GetSolutionStepIndex () const |
|
void | SetSolutionStepIndex (IndexType NewIndex) |
|
|
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...
|
|
| DataValueContainer () |
| Default constructor. More...
|
|
| DataValueContainer (DataValueContainer const &rOther) |
| Copy constructor. More...
|
|
virtual | ~DataValueContainer () |
| Destructor. More...
|
|
template<class TDataType > |
const TDataType & | operator() (const VariableData &rThisVariable) const |
| Accessor operator for retrieving a data value by a VariableData. More...
|
|
template<class TDataType > |
TDataType & | operator() (const Variable< TDataType > &rThisVariable) |
| Accessor operator for retrieving a data value by a Variable. More...
|
|
template<class TDataType > |
const TDataType & | operator() (const Variable< TDataType > &rThisVariable) const |
| Accessor operator for retrieving a data value by a Variable (const version). More...
|
|
template<class TDataType > |
TDataType & | operator[] (const VariableData &rThisVariable) |
| Index operator for retrieving a data value by a VariableData. More...
|
|
template<class TDataType > |
const TDataType & | operator[] (const VariableData &rThisVariable) const |
| Index operator for retrieving a data value by a VariableData (const version). More...
|
|
template<class TDataType > |
TDataType & | operator[] (const Variable< TDataType > &rThisVariable) |
| Index operator for retrieving a data value by a Variable. More...
|
|
template<class TDataType > |
const TDataType & | operator[] (const Variable< TDataType > &rThisVariable) const |
| Index operator for retrieving a data value by a Variable (const version). More...
|
|
iterator | begin () |
| Iterator pointing to the beginning of the container. More...
|
|
const_iterator | begin () const |
| Const iterator pointing to the beginning of the container. More...
|
|
iterator | end () |
| Iterator pointing to the end of the container. More...
|
|
const_iterator | end () const |
| Const iterator pointing to the end of the container. More...
|
|
DataValueContainer & | operator= (const DataValueContainer &rOther) |
| Assignment operator for copying data from another DataValueContainer. More...
|
|
template<class TDataType > |
TDataType & | GetValue (const Variable< TDataType > &rThisVariable) |
| Gets the value associated with a given variable. More...
|
|
template<class TDataType > |
const TDataType & | GetValue (const Variable< TDataType > &rThisVariable) const |
| Gets the value associated with a given variable (const version). More...
|
|
SizeType | Size () |
| Gets the size of the data container. More...
|
|
template<class TDataType > |
void | SetValue (const Variable< TDataType > &rThisVariable, TDataType const &rValue) |
| Sets the value for a given variable. More...
|
|
template<class TDataType > |
void | Erase (const Variable< TDataType > &rThisVariable) |
| Erases the value associated with a given variable. More...
|
|
void | Clear () |
| Clears the entire data container. More...
|
|
void | Merge (const DataValueContainer &rOther, const Flags Options) |
| Merges this data container with another data container. More...
|
|
template<class TDataType > |
bool | Has (const Variable< TDataType > &rThisVariable) const |
| Checks if the data container has a value associated with a given variable. More...
|
|
bool | IsEmpty () const |
| Checks if the data container is empty. More...
|
|
| KRATOS_DEFINE_LOCAL_FLAG (OVERWRITE_OLD_VALUES) |
| Define local flag. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (DataValueContainer) |
| Pointer definition of DataValueContainer. More...
|
|
Flags & | operator= (Flags const &rOther) |
| Assignment operator. More...
|
|
| operator bool () const |
|
Flags | operator~ () const |
|
bool | operator! () const |
|
void | AssignFlags (Flags const &rOther) |
|
void | Set (const Flags ThisFlag) |
|
void | Set (const Flags ThisFlag, bool Value) |
|
void | Reset (const Flags ThisFlag) |
|
void | Flip (const Flags ThisFlag) |
|
void | SetPosition (IndexType Position, bool Value=true) |
|
bool | GetPosition (IndexType Position) const |
|
void | FlipPosition (IndexType Position) |
|
void | ClearPosition (IndexType Position) |
|
void | Clear () |
|
Flags | AsFalse () const |
|
bool | Is (Flags const &rOther) const |
|
bool | IsDefined (Flags const &rOther) const |
|
bool | IsNot (Flags const &rOther) const |
|
bool | IsNotDefined (Flags const &rOther) const |
|
| KRATOS_CLASS_POINTER_DEFINITION (Flags) |
| Pointer definition of Flags. More...
|
|
const Flags & | operator|= (const Flags &Other) |
|
const Flags & | operator&= (const Flags &Other) |
|
| Flags () |
| Default constructor. More...
|
|
| Flags (Flags const &rOther) |
| Copy constructor. More...
|
|
virtual | ~Flags () |
| Destructor. More...
|
|
|
using | ValueType = std::pair< const VariableData *, void * > |
| Type of the container used for variables. More...
|
|
using | ContainerType = std::vector< ValueType > |
| Type of the container used for variables. More...
|
|
using | iterator = ContainerType::iterator |
| Type of the container used for variables. More...
|
|
using | const_iterator = ContainerType::const_iterator |
| Type of the container used for variables. More...
|
|
using | SizeType = ContainerType::size_type |
| Type of the container used for variables. More...
|
|
enum | FlagsList {
Flag0 = BlockType(1)
, Flag1 = BlockType(1) << 1
, Flag2 = BlockType(1) << 2
, Flag3 = BlockType(1) << 3
,
Flag4 = BlockType(1) << 4
, Flag5 = BlockType(1) << 5
, Flag6 = BlockType(1) << 6
, Flag7 = BlockType(1) << 7
,
Flag8 = BlockType(1) << 8
, Flag9 = BlockType(1) << 9
, Flag10 = BlockType(1) << 10
, Flag11 = BlockType(1) << 11
,
Flag12 = BlockType(1) << 12
, Flag13 = BlockType(1) << 13
, Flag14 = BlockType(1) << 14
, Flag15 = BlockType(1) << 15
,
Flag16 = BlockType(1) << 16
, Flag17 = BlockType(1) << 17
, Flag18 = BlockType(1) << 18
, Flag19 = BlockType(1) << 19
,
Flag20 = BlockType(1) << 20
, Flag21 = BlockType(1) << 21
, Flag22 = BlockType(1) << 22
, Flag23 = BlockType(1) << 23
,
Flag24 = BlockType(1) << 24
, Flag25 = BlockType(1) << 25
, Flag26 = BlockType(1) << 26
, Flag27 = BlockType(1) << 27
,
Flag28 = BlockType(1) << 28
, Flag29 = BlockType(1) << 29
, Flag30 = BlockType(1) << 30
} |
|
typedef int64_t | BlockType |
|
typedef int64_t | FlagType |
|
typedef std::size_t | IndexType |
|
static const Flags | AllDefined () |
|
static const Flags | AllTrue () |
|
static Flags | Create (IndexType ThisPosition, bool Value=true) |
|
ProcessInfo holds the current value of different solution parameters.
ProcessInfo holds the current value of different solution parameters. It can be used to keep variables like time, solution step, non linear step, or any other variable defined in Kratos. Its variable base interface provides a clear and flexible access to these data.