14 #if !defined(KRATOS_POOL_OBJECT_H_INCLUDED )
15 #define KRATOS_POOL_OBJECT_H_INCLUDED
83 void*
operator new(std::size_t
Size){
87 void operator delete(
void* pPointerToRelease, std::size_t
Size){
111 virtual std::string
Info()
const {
235 rOStream << std::endl;
static void Deallocate(void *pPointrerToRelease, std::size_t ObjectSizeInBytes)
Definition: memory_pool.h:81
static void * Allocate(std::size_t ObjectSizeInBytes)
Definition: memory_pool.h:77
This redefines the new and delete operators of derived class to be allocated in pool.
Definition: pool_object.h:60
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: pool_object.h:121
virtual ~PoolObject()
Destructor.
Definition: pool_object.h:76
PoolObject()
Default constructor.
Definition: pool_object.h:73
KRATOS_CLASS_POINTER_DEFINITION(PoolObject)
Pointer definition of PoolObject.
virtual std::string Info() const
Turn back information as a string.
Definition: pool_object.h:111
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: pool_object.h:116
TSpaceType::IndexType Size(TSpaceType &dummy, typename TSpaceType::VectorType const &rV)
Definition: add_strategies_to_python.cpp:111
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
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