SIMLIB/C++  3.07
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
simlib3::IntegrationMethod::Memory Class Reference

#include <simlib.h>

Public Member Functions

 Memory (std::list< Memory *> *PtrList=PtrMList)
 create empty memory, put object into list More...
 
virtual ~Memory ()
 free dynamic data, remove object from list of memories More...
 
double & operator[] (size_t ind)
 
virtual void Resize (size_t cs)
 change size of array to cs, content will be undefined! More...
 

Private Member Functions

 Memory (const Memory &)=delete
 
Memoryoperator= (const Memory &)=delete
 

Private Attributes

double * arr
 
size_t mem_size
 
std::list< Memory * >::iterator it_list
 
std::list< Memory * > * ListPtr
 

Static Private Attributes

static const size_t page_size = 256
 

Detailed Description

Definition at line 1092 of file simlib.h.

Constructor & Destructor Documentation

◆ Memory() [1/2]

simlib3::IntegrationMethod::Memory::Memory ( const Memory )
privatedelete

◆ Memory() [2/2]

simlib3::IntegrationMethod::Memory::Memory ( std::list< Memory *> *  PtrList = PtrMList)
explicit

create empty memory, put object into list

Definition at line 387 of file numint.cc.

References it_list, and ListPtr.

◆ ~Memory()

simlib3::IntegrationMethod::Memory::~Memory ( )
virtual

free dynamic data, remove object from list of memories

Definition at line 397 of file numint.cc.

References arr, it_list, ListPtr, and mem_size.

Member Function Documentation

◆ operator=()

Memory& simlib3::IntegrationMethod::Memory::operator= ( const Memory )
privatedelete

◆ operator[]()

double& simlib3::IntegrationMethod::Memory::operator[] ( size_t  ind)
inline

Definition at line 1104 of file simlib.h.

◆ Resize()

void simlib3::IntegrationMethod::Memory::Resize ( size_t  cs)
virtual

change size of array to cs, content will be undefined!

Definition at line 355 of file numint.cc.

References Dprintf, and SIMLIB_internal_error.

Member Data Documentation

◆ arr

double* simlib3::IntegrationMethod::Memory::arr
private

Definition at line 1097 of file simlib.h.

Referenced by ~Memory().

◆ it_list

std::list<Memory*>::iterator simlib3::IntegrationMethod::Memory::it_list
private

Definition at line 1099 of file simlib.h.

Referenced by Memory(), and ~Memory().

◆ ListPtr

std::list<Memory*>* simlib3::IntegrationMethod::Memory::ListPtr
private

Definition at line 1100 of file simlib.h.

Referenced by Memory(), and ~Memory().

◆ mem_size

size_t simlib3::IntegrationMethod::Memory::mem_size
private

Definition at line 1098 of file simlib.h.

Referenced by ~Memory().

◆ page_size

const size_t simlib3::IntegrationMethod::Memory::page_size = 256
staticprivate

Definition at line 1096 of file simlib.h.

Referenced by simlib3::StatusMethod::GoToState().


The documentation for this class was generated from the following files: