Description not yet available. More...
#include <adpool.h>
Classes | |
struct | link |
Public Member Functions | |
adpool () | |
Default constructor. | |
adpool (const size_t) | |
Description not yet available. | |
adpool (adpool &) | |
~adpool () | |
Description not yet available. | |
void * | alloc (void) |
Allocate memory for link*. | |
void | clean (void) |
Description not yet available. | |
void | deallocate (void) |
Description not yet available. | |
int | depth_check (void) |
Description not yet available. | |
void | free (void *b) |
Description not yet available. | |
void | grow (void) |
int & | on_adpool_vector (void) |
void | operator= (adpool &) |
void | set_size (const size_t) |
Set size of adpool. | |
Public Attributes | |
double * | first |
link * | head |
char * | last_chunk |
size_t | nelem |
int | num_allocated |
int | num_chunks |
unsigned int | nvar |
size_t | size |
Private Attributes | |
int | adpool_vector_flag |
Static Private Attributes | |
static int | num_adpools = 0 |
adpool::adpool | ( | ) |
Default constructor.
Definition at line 294 of file adpool.cpp.
adpool::adpool | ( | const size_t | sz | ) |
adpool::~adpool | ( | void | ) |
adpool::adpool | ( | adpool & | ) |
void * adpool::alloc | ( | void | ) |
Allocate memory for link*.
Definition at line 120 of file adpool.cpp.
Referenced by df1b2variable::allocate(), and df1b2variable::df1b2variable().
void adpool::clean | ( | void | ) |
void adpool::deallocate | ( | void | ) |
Description not yet available.
Definition at line 337 of file adpool.cpp.
Referenced by cleanup_laplace_stuff(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::prof_minimize_re(), function_minimizer::quasi_newton_block(), function_minimizer::trust_region_update(), and ~adpool().
int adpool::depth_check | ( | void | ) |
Description not yet available.
Definition at line 25 of file adpool.cpp.
Referenced by check_pool_depths().
void adpool::free | ( | void * | b | ) |
void adpool::grow | ( | void | ) |
Definition at line 371 of file adpool.cpp.
Referenced by alloc().
int& adpool::on_adpool_vector | ( | void | ) | [inline] |
void adpool::operator= | ( | adpool & | ) |
void adpool::set_size | ( | const size_t | sz | ) |
Set size of adpool.
/param sz is a non-negative integer
Definition at line 322 of file adpool.cpp.
Referenced by df1b2variable::set_blocksize().
int adpool::adpool_vector_flag [private] |
Definition at line 58 of file adpool.h.
Referenced by adpool(), and on_adpool_vector().
double* adpool::first |
Definition at line 74 of file adpool.h.
Referenced by clean(), deallocate(), and grow().
Definition at line 73 of file adpool.h.
Referenced by adpool(), alloc(), deallocate(), depth_check(), free(), and grow().
char* adpool::last_chunk |
Definition at line 67 of file adpool.h.
Referenced by adpool(), deallocate(), and grow().
size_t adpool::nelem |
int adpool::num_adpools = 0 [static, private] |
Definition at line 70 of file adpool.h.
Referenced by adpool(), deallocate(), and grow().
unsigned int adpool::nvar |
Definition at line 65 of file adpool.h.
Referenced by alloc(), funnel_init_var::allocate_all(), laplace_approximation_calculator::check_pool_size(), laplace_approximation_calculator::do_separable_stuff(), free(), and df1b2variable::set_blocksize().
size_t adpool::size |
Definition at line 72 of file adpool.h.
Referenced by adpool(), alloc(), clean(), deallocate(), free(), grow(), and set_size().
Generated on Tue Mar 8 2016 19:51:38 for ADMB Documentation by 1.8.0 |