#include <Teuchos_Workspace.hpp>


Public Member Functions | |
| WorkspaceStoreInitializeable (size_t num_bytes=0) | |
| Default constructs to no memory set and will dynamically allocate all memory requested. | |
| void | initialize (size_t num_bytes) |
| Set the size block of memory to be given as workspace. | |
The client can create concrete instances of this type and initalize the memory used. The client should call initialize(num_bytes) to set the number of bytes to allocate where num_bytes should be large enough to satisfy all but the largests of memory request needs.
Definition at line 313 of file Teuchos_Workspace.hpp.
| Teuchos::WorkspaceStoreInitializeable::WorkspaceStoreInitializeable | ( | size_t | num_bytes = 0 |
) | [inline] |
Default constructs to no memory set and will dynamically allocate all memory requested.
Definition at line 476 of file Teuchos_Workspace.hpp.
| void Teuchos::WorkspaceStoreInitializeable::initialize | ( | size_t | num_bytes | ) | [inline] |
Set the size block of memory to be given as workspace.
If there are any instantiated RawWorkspace objects then this function willl throw an std::exception. It must be called before any RawWorkspace objects are created.
Definition at line 481 of file Teuchos_Workspace.hpp.
1.5.9