87 : mQueueSize(NewQueueSize), mpCurrentPosition(0),
88 mpData(0), mpVariablesList(nullptr)
97 mpCurrentPosition = mpData;
99 const SizeType size = mpVariablesList->DataSize();
101 BlockType* position = Position(*it_variable);
103 it_variable->AssignZero(position +
i * size);
110 : mQueueSize(rOther.mQueueSize), mpCurrentPosition(0),
111 mpData(0), mpVariablesList(rOther.mpVariablesList)
120 mpCurrentPosition = mpData + (rOther.mpCurrentPosition - rOther.mpData);
122 const SizeType size = mpVariablesList->DataSize();
124 const SizeType offset = LocalOffset(*it_variable);
126 const SizeType total_offset = offset +
i * size;
127 it_variable->Copy(rOther.mpData + total_offset, mpData + total_offset);
134 : mQueueSize(NewQueueSize), mpCurrentPosition(0),
135 mpData(0), mpVariablesList(pVariablesList)
144 mpCurrentPosition = mpData;
146 const SizeType size = mpVariablesList->DataSize();
148 BlockType* position = Position(*it_variable);
150 it_variable->AssignZero(position +
i * size);
157 : mQueueSize(NewQueueSize), mpCurrentPosition(0),
158 mpData(0), mpVariablesList(pVariablesList)
167 mpCurrentPosition = mpData;
169 const SizeType size = mpVariablesList->DataSize();
171 const SizeType offset = LocalOffset(*it_variable);
173 const SizeType total_offset = offset +
i * size;
174 it_variable->Copy(ThisData + total_offset, mpData + total_offset);
194 template<
class TDataType>
200 template<
class TDataType>
203 return GetValue(rThisVariable, QueueIndex);
206 template<
class TDataType>
212 template<
class TDataType>
215 return GetValue(rThisVariable, QueueIndex);
241 if(rOther.mpVariablesList == 0) {
243 }
else if((mpVariablesList == rOther.mpVariablesList) && (mQueueSize == rOther.mQueueSize)) {
244 mpCurrentPosition = mpData + (rOther.mpCurrentPosition - rOther.mpData);
246 const SizeType size = mpVariablesList->DataSize();
248 const SizeType offset = LocalOffset(*it_variable);
250 const SizeType total_offset = offset +
i * size;
251 it_variable->Assign(rOther.mpData + total_offset, mpData + total_offset);
255 DestructAllElements();
257 mQueueSize = rOther.mQueueSize;
258 mpVariablesList = rOther.mpVariablesList;
262 mpCurrentPosition = mpData + (rOther.mpCurrentPosition - rOther.mpData);
264 const SizeType size = mpVariablesList->DataSize();
266 const SizeType offset = LocalOffset(*it_variable);
268 const SizeType total_offset = offset +
i * size;
269 it_variable->Copy(rOther.mpData + total_offset, mpData + total_offset);
281 template<
class TDataType>
284 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
285 KRATOS_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
286 return *(
reinterpret_cast<TDataType*
>(Position(rThisVariable)) + rThisVariable.
GetComponentIndex());
289 template<
class TDataType>
292 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
293 KRATOS_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
294 return *(
reinterpret_cast<TDataType*
>(Position(rThisVariable, QueueIndex)) + rThisVariable.
GetComponentIndex());
297 template<
class TDataType>
300 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
301 KRATOS_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
302 return *(
reinterpret_cast<const TDataType*
>(Position(rThisVariable)) + rThisVariable.
GetComponentIndex());
305 template<
class TDataType>
308 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
309 KRATOS_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
310 return *(
reinterpret_cast<const TDataType*
>(Position(rThisVariable, QueueIndex)) + rThisVariable.
GetComponentIndex());
313 template<
class TDataType>
316 return *(
reinterpret_cast<TDataType*
>(Position(rThisVariable)) + rThisVariable.
GetComponentIndex());
319 template<
class TDataType>
322 return (
reinterpret_cast<TDataType*
>(Position(rThisVariable)) + rThisVariable.
GetComponentIndex());
325 template<
class TDataType>
328 return *(
reinterpret_cast<TDataType*
>(Position(rThisVariable, QueueIndex)) + rThisVariable.
GetComponentIndex());
331 template<
class TDataType>
334 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
335 KRATOS_DEBUG_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
336 KRATOS_DEBUG_ERROR_IF((QueueIndex + 1) > mQueueSize) <<
"Trying to access data from step " << QueueIndex <<
" but only " << mQueueSize <<
" steps are stored." << std::endl;
337 return *(
reinterpret_cast<TDataType*
>(Position(QueueIndex) + ThisPosition) + rThisVariable.
GetComponentIndex());
340 template<
class TDataType>
343 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
344 KRATOS_DEBUG_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
345 return *(
reinterpret_cast<TDataType*
>(mpCurrentPosition + ThisPosition) + rThisVariable.
GetComponentIndex());
348 template<
class TDataType>
351 return *(
reinterpret_cast<const TDataType*
>(Position(rThisVariable)) + rThisVariable.
GetComponentIndex());
354 template<
class TDataType>
357 return (
reinterpret_cast<const TDataType*
>(Position(rThisVariable)) + rThisVariable.
GetComponentIndex());
360 template<
class TDataType>
363 return *(
reinterpret_cast<const TDataType*
>(Position(rThisVariable, QueueIndex)) + rThisVariable.
GetComponentIndex());
366 template<
class TDataType>
369 return *(
reinterpret_cast<const TDataType*
>(Position(QueueIndex) + ThisPosition) + rThisVariable.
GetComponentIndex());
373 template<
class TDataType>
376 return *(
reinterpret_cast<TDataType*
>(mpCurrentPosition + ThisPosition) + rThisVariable.
GetComponentIndex());
384 return mpVariablesList->DataSize();
397 return mQueueSize * mpVariablesList->DataSize();
407 GetValue(rThisVariable, QueueIndex) = rValue;
412 DestructAllElements();
426 return mpVariablesList;
431 return mpVariablesList;
436 return *mpVariablesList;
441 return *mpVariablesList;
446 DestructAllElements();
448 mpVariablesList = pVariablesList;
455 mpCurrentPosition = mpData;
457 const SizeType size = mpVariablesList->DataSize();
459 BlockType* position = Position(*it_variable);
461 it_variable->AssignZero(position +
i * size);
468 DestructAllElements();
470 mpVariablesList = pVariablesList;
472 mQueueSize = ThisQueueSize;
479 mpCurrentPosition = mpData;
481 const SizeType size = mpVariablesList->DataSize();
483 BlockType* position = Position(*it_variable);
485 it_variable->AssignZero(position +
i * size);
492 if(mQueueSize == NewSize)
498 if(mQueueSize > NewSize) {
503 const SizeType size = mpVariablesList->DataSize();
513 mQueueSize = NewSize;
522 mpCurrentPosition = mpData;
526 const SizeType difference = NewSize - mQueueSize;
529 const SizeType old_size = mQueueSize;
532 const SizeType current_offset = mpCurrentPosition - mpData;
535 mQueueSize = NewSize;
540 SizeType size = mpVariablesList->DataSize();
543 mpCurrentPosition = mpData + current_offset;
546 const SizeType region_size = old_size * size - current_offset;
547 memmove(mpCurrentPosition + difference * size, mpCurrentPosition, region_size *
sizeof(
BlockType));
551 BlockType* position = mpCurrentPosition + LocalOffset(*it_variable);
553 it_variable->AssignZero(position +
i * size);
558 mpCurrentPosition += difference * size;
604 return Position(QueueIndex);
609 KRATOS_DEBUG_ERROR_IF(!mpVariablesList->Has(rThisVariable)) <<
"Variable " << rThisVariable.
Name() <<
" is not added to this variables list. Stopping" << std::endl;
610 return Position(rThisVariable);
618 return mpVariablesList->DataSize() *
sizeof(
BlockType);
626 return mpVariablesList->DataSize() *
sizeof(
BlockType) * mQueueSize;
631 AssignData(Source, Position(QueueIndex));
643 if(mQueueSize == 0) {
651 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
653 const SizeType size = mpVariablesList->DataSize();
654 BlockType* position = (mpCurrentPosition == mpData) ? mpData + TotalSize() - size : mpCurrentPosition - size;
655 AssignData(mpCurrentPosition, position);
656 mpCurrentPosition = position;
662 if(mQueueSize == 0) {
670 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
672 const SizeType size = mpVariablesList->DataSize();
673 mpCurrentPosition = (mpCurrentPosition == mpData) ? mpData + TotalSize() - size : mpCurrentPosition - size;
680 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
682 it_variable->AssignZero(mpCurrentPosition + LocalOffset(*it_variable));
688 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
689 BlockType* position = Position(QueueIndex);
691 it_variable->AssignZero(position + LocalOffset(*it_variable));
709 return mpVariablesList->Has(rThisVariable);
717 return mpVariablesList->IsEmpty();
727 return std::string(
"variables list data value container");
733 rOStream <<
"variables list data value container";
740 rOStream <<
"No varaibles list is assigned yet." << std::endl;
745 rOStream <<
i <<
": ";
746 it_variable->Print(Position(*it_variable,
i), rOStream);
749 rOStream << std::endl;
799 BlockType* mpCurrentPosition;
803 VariablesList::Pointer mpVariablesList;
814 inline void Allocate()
816 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
817 mpData = (BlockType*)malloc(mpVariablesList->DataSize() *
sizeof(BlockType) * mQueueSize);
820 inline void Reallocate()
822 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
823 mpData = (BlockType*)realloc(mpData, mpVariablesList->DataSize() *
sizeof(BlockType) * mQueueSize);
826 void DestructElements(
SizeType ThisIndex)
833 BlockType* position = Position(ThisIndex);
835 it_variable->Destruct(position + LocalOffset(*it_variable));
839 void DestructAllElements()
847 const SizeType size = mpVariablesList->DataSize();
849 BlockType* position = mpData + LocalOffset(*it_variable);
851 it_variable->Destruct(position +
i * size);
857 void AssignData(BlockType* Source, BlockType* Destination)
859 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
861 const SizeType offset = LocalOffset(*it_variable);
862 it_variable->Assign(Source + offset, Destination + offset);
866 inline SizeType LocalOffset(VariableData
const & rThisVariable)
const
868 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
869 return mpVariablesList->Index(rThisVariable.SourceKey());
872 inline BlockType* Position(VariableData
const & rThisVariable)
const
874 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
875 KRATOS_DEBUG_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
876 return mpCurrentPosition + mpVariablesList->Index(rThisVariable.SourceKey());
879 inline BlockType* Position(VariableData
const & rThisVariable,
SizeType ThisIndex)
const
881 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
882 KRATOS_DEBUG_ERROR_IF_NOT(mpVariablesList->Has(rThisVariable)) <<
"This container only can store the variables specified in its variables list. The variables list doesn't have this variable:" << rThisVariable << std::endl;
883 KRATOS_DEBUG_ERROR_IF((ThisIndex + 1) > mQueueSize) <<
"Trying to access data from step " << ThisIndex <<
" but only " << mQueueSize <<
" steps are stored." << std::endl;
884 return Position(ThisIndex) + mpVariablesList->Index(rThisVariable.SourceKey());
887 inline BlockType* Position()
const
889 return mpCurrentPosition;
892 inline BlockType* Position(
SizeType ThisIndex)
const
894 KRATOS_DEBUG_ERROR_IF(!mpVariablesList) <<
"This container don't have a variables list assigned. A possible reason is creating a node without a model part." << std::endl;
895 const SizeType total_size = TotalSize();
896 BlockType* position = mpCurrentPosition + ThisIndex * mpVariablesList->DataSize();
897 return (position < mpData + total_size) ? position : position - total_size;
908 KRATOS_ERROR_IF(!mpVariablesList) <<
"Cannot save a container with no variables list assigned" << std::endl;
909 KRATOS_ERROR_IF(mpData == 0) <<
"Cannot save an empty variables list container" << std::endl;
911 rSerializer.
save(
"Variables List", mpVariablesList);
912 rSerializer.
save(
"QueueSize", mQueueSize);
913 if(mpVariablesList->DataSize() != 0 )
914 rSerializer.
save(
"QueueIndex",
SizeType(mpCurrentPosition-mpData)/mpVariablesList->DataSize());
918 const SizeType size = mpVariablesList->DataSize();
920 BlockType* position = mpData + LocalOffset(*it_variable);
923 it_variable->Save(rSerializer, position +
i * size);
928 void load(Serializer& rSerializer)
930 rSerializer.load(
"Variables List", mpVariablesList);
931 rSerializer.load(
"QueueSize", mQueueSize);
933 rSerializer.load(
"QueueIndex", queue_index);
937 if(queue_index > mQueueSize)
938 KRATOS_THROW_ERROR(std::invalid_argument,
"Invalid Queue index loaded : ", queue_index)
939 mpCurrentPosition = mpData + queue_index * mpVariablesList->DataSize();
945 const SizeType size = mpVariablesList->DataSize();
947 BlockType* position = mpData + LocalOffset(*it_variable);
950 it_variable->Load(rSerializer, position +
i * size);
993 rOStream << std::endl;
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
This class is the base of variables and variable's components which contains their common data.
Definition: variable_data.h:49
KeyType GetComponentIndex() const
Returns the component index.
Definition: variable_data.h:227
const std::string & Name() const
Definition: variable_data.h:201
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
A shared variable list gives the position of each variable in the containers sharing it.
Definition: variables_list_data_value_container.h:61
KRATOS_CLASS_POINTER_DEFINITION(VariablesListDataValueContainer)
Pointer definition of VariablesListDataValueContainer.
bool IsEmpty()
Definition: variables_list_data_value_container.h:712
SizeType TotalDataSize()
Definition: variables_list_data_value_container.h:621
void AssignZero(const SizeType QueueIndex)
Definition: variables_list_data_value_container.h:686
const TDataType * pFastGetValue(const Variable< TDataType > &rThisVariable) const
Definition: variables_list_data_value_container.h:355
void Clear()
Definition: variables_list_data_value_container.h:410
VariablesListDataValueContainer & operator=(const VariablesListDataValueContainer &rOther)
Assignment operator.
Definition: variables_list_data_value_container.h:239
void SetValue(const Variable< TDataType > &rThisVariable, TDataType const &rValue)
Definition: variables_list_data_value_container.h:400
void AssignData(BlockType *Source, SizeType QueueIndex)
Definition: variables_list_data_value_container.h:629
TDataType & FastGetValue(const Variable< TDataType > &rThisVariable, SizeType QueueIndex, SizeType ThisPosition)
Definition: variables_list_data_value_container.h:332
std::string Info() const
Turn back information as a string.
Definition: variables_list_data_value_container.h:725
SizeType Size() const
Definition: variables_list_data_value_container.h:379
TDataType & FastGetCurrentValue(const Variable< TDataType > &rThisVariable, SizeType ThisPosition)
Definition: variables_list_data_value_container.h:341
~VariablesListDataValueContainer()
Destructor.
Definition: variables_list_data_value_container.h:180
void PushFront()
Definition: variables_list_data_value_container.h:660
TDataType & FastGetValue(const Variable< TDataType > &rThisVariable, SizeType QueueIndex)
Definition: variables_list_data_value_container.h:326
SizeType TotalSize() const
Definition: variables_list_data_value_container.h:392
SizeType QueueSize() const
Definition: variables_list_data_value_container.h:387
const TDataType & FastGetCurrentValue(const Variable< TDataType > &rThisVariable, SizeType ThisPosition) const
Definition: variables_list_data_value_container.h:374
void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: variables_list_data_value_container.h:737
TDataType & GetValue(const Variable< TDataType > &rThisVariable, SizeType QueueIndex)
Definition: variables_list_data_value_container.h:290
VariablesListDataValueContainer(VariablesList::Pointer pVariablesList, SizeType NewQueueSize=1)
Variables list constructor.
Definition: variables_list_data_value_container.h:133
BlockType * Data(SizeType QueueIndex)
Definition: variables_list_data_value_container.h:602
void SetVariablesList(VariablesList::Pointer pVariablesList)
Definition: variables_list_data_value_container.h:444
TDataType & GetValue(const Variable< TDataType > &rThisVariable)
Definition: variables_list_data_value_container.h:282
std::size_t SizeType
The size type definition.
Definition: variables_list_data_value_container.h:79
VariablesListDataValueContainer(SizeType NewQueueSize=1)
Default constructor.
Definition: variables_list_data_value_container.h:86
VariablesListDataValueContainer(VariablesListDataValueContainer const &rOther)
Copy constructor.
Definition: variables_list_data_value_container.h:109
std::size_t IndexType
The index type definition.
Definition: variables_list_data_value_container.h:76
const TDataType & GetValue(const Variable< TDataType > &rThisVariable) const
Definition: variables_list_data_value_container.h:298
bool Has(const VariableData &rThisVariable) const
This method returns if a certain variable is stored in the data value container.
Definition: variables_list_data_value_container.h:704
const TDataType & FastGetValue(const Variable< TDataType > &rThisVariable, SizeType QueueIndex) const
Definition: variables_list_data_value_container.h:361
TDataType & operator()(const Variable< TDataType > &rThisVariable, SizeType QueueIndex)
Definition: variables_list_data_value_container.h:201
const TDataType & operator[](const Variable< TDataType > &rThisVariable) const
Definition: variables_list_data_value_container.h:233
const TDataType & GetValue(const Variable< TDataType > &rThisVariable, SizeType QueueIndex) const
Definition: variables_list_data_value_container.h:306
VariablesListDataValueContainer(VariablesList::Pointer pVariablesList, BlockType const *ThisData, SizeType NewQueueSize=1)
Variables list and data constructor.
Definition: variables_list_data_value_container.h:156
const TDataType & FastGetValue(const Variable< TDataType > &rThisVariable, SizeType QueueIndex, SizeType ThisPosition) const
Definition: variables_list_data_value_container.h:367
void SetVariablesList(VariablesList::Pointer pVariablesList, SizeType ThisQueueSize)
Definition: variables_list_data_value_container.h:466
void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: variables_list_data_value_container.h:731
const VariablesList::Pointer pGetVariablesList() const
Definition: variables_list_data_value_container.h:429
void Resize(SizeType NewSize)
Definition: variables_list_data_value_container.h:490
VariablesList::Pointer pGetVariablesList()
Definition: variables_list_data_value_container.h:424
TDataType & operator()(const Variable< TDataType > &rThisVariable)
Definition: variables_list_data_value_container.h:195
BlockType * Data(VariableData const &rThisVariable)
Definition: variables_list_data_value_container.h:607
TDataType & operator[](const Variable< TDataType > &rThisVariable)
Definition: variables_list_data_value_container.h:228
void SetValue(const Variable< TDataType > &rThisVariable, TDataType const &rValue, SizeType QueueIndex)
Definition: variables_list_data_value_container.h:405
const TDataType & operator()(const Variable< TDataType > &rThisVariable, SizeType QueueIndex) const
Definition: variables_list_data_value_container.h:213
SizeType DataSize()
Definition: variables_list_data_value_container.h:613
const TDataType & operator()(const Variable< TDataType > &rThisVariable) const
Definition: variables_list_data_value_container.h:207
VariablesList::BlockType BlockType
The block type definition.
Definition: variables_list_data_value_container.h:70
BlockType * ContainerType
Type of the container used for variables.
Definition: variables_list_data_value_container.h:73
void AssignZero()
Definition: variables_list_data_value_container.h:678
const TDataType & FastGetValue(const Variable< TDataType > &rThisVariable) const
Definition: variables_list_data_value_container.h:349
const VariablesList & GetVariablesList() const
Definition: variables_list_data_value_container.h:439
const BlockType * Data() const
Definition: variables_list_data_value_container.h:597
BlockType * Data()
Definition: variables_list_data_value_container.h:592
TDataType * pFastGetValue(const Variable< TDataType > &rThisVariable)
Definition: variables_list_data_value_container.h:320
TDataType & FastGetValue(const Variable< TDataType > &rThisVariable)
Definition: variables_list_data_value_container.h:314
VariablesList & GetVariablesList()
Definition: variables_list_data_value_container.h:434
void CloneFront()
Definition: variables_list_data_value_container.h:641
Holds a list of variables and their position in VariablesListDataValueContainer.
Definition: variables_list.h:50
double BlockType
Definition: variables_list.h:64
boost::indirect_iterator< VariablesContainerType::const_iterator > const_iterator
Definition: variables_list.h:77
#define KRATOS_THROW_ERROR(ExceptionType, ErrorMessage, MoreInfo)
Definition: define.h:77
#define KRATOS_ERROR_IF_NOT(conditional)
Definition: exception.h:163
#define KRATOS_ERROR_IF(conditional)
Definition: exception.h:162
#define KRATOS_DEBUG_ERROR_IF(conditional)
Definition: exception.h:171
#define KRATOS_DEBUG_ERROR_IF_NOT(conditional)
Definition: exception.h:172
Parameters GetValue(Parameters &rParameters, const std::string &rEntry)
Definition: add_kratos_parameters_to_python.cpp:53
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
def load(f)
Definition: ode_solve.py:307
float temp
Definition: rotating_cone.py:85
integer i
Definition: TensorModule.f:17
Configure::ContainerType ContainerType
Definition: transfer_utility.h:247