ADMB Documentation
-a65f1c97
|
Description not yet available. More...
#include <adpool.h>
Classes | |
struct | link |
Public Member Functions | |
adpool () | |
Default constructor. More... | |
adpool (const size_t) | |
Construct adpool with size (sz). More... | |
adpool (adpool &)=delete | |
~adpool () | |
Destructor. More... | |
void * | alloc (void) |
Allocate memory for link*. More... | |
void | clean (void) |
Description not yet available. More... | |
void | deallocate (void) |
Description not yet available. More... | |
int | depth_check (void) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More... | |
void | free (void *b) |
Description not yet available. More... | |
void | grow (void) |
int & | on_adpool_vector (void) |
void | operator= (adpool &)=delete |
void | set_size (const size_t) |
Set size of adpool. More... | |
Static Public Member Functions | |
static int | get_num_adpools () |
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 297 of file adpool.cpp.
adpool::adpool | ( | const size_t | sz | ) |
Construct adpool with size (sz).
sz | size of adpool. |
Definition at line 266 of file adpool.cpp.
|
delete |
adpool::~adpool | ( | ) |
Destructor.
Definition at line 255 of file adpool.cpp.
void * adpool::alloc | ( | void | ) |
Allocate memory for link*.
Definition at line 114 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 319 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 | ) |
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
Definition at line 19 of file adpool.cpp.
Referenced by check_pool_depths().
void adpool::free | ( | void * | b | ) |
void adpool::grow | ( | void | ) |
Definition at line 353 of file adpool.cpp.
Referenced by alloc().
|
delete |
void adpool::set_size | ( | const size_t | sz | ) |
Set size of adpool.
/param sz is a non-negative integer
Definition at line 304 of file adpool.cpp.
Referenced by df1b2variable::set_blocksize().
|
private |
Definition at line 62 of file adpool.h.
Referenced by adpool(), and on_adpool_vector().
double* adpool::first |
Definition at line 86 of file adpool.h.
Referenced by clean(), deallocate(), and grow().
link* adpool::head |
Definition at line 85 of file adpool.h.
Referenced by alloc(), deallocate(), depth_check(), free(), and grow().
char* adpool::last_chunk |
Definition at line 79 of file adpool.h.
Referenced by deallocate(), and grow().
|
staticprivate |
Definition at line 61 of file adpool.h.
Referenced by adpool(), get_num_adpools(), and ~adpool().
int adpool::num_allocated |
Definition at line 81 of file adpool.h.
Referenced by alloc(), deallocate(), and free().
int adpool::num_chunks |
Definition at line 82 of file adpool.h.
Referenced by deallocate(), and grow().
unsigned int adpool::nvar |
Definition at line 77 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 84 of file adpool.h.
Referenced by adpool(), alloc(), clean(), deallocate(), free(), grow(), and set_size().
Generated on Wed Sep 7 2022 00:01:32 for ADMB Documentation by 1.8.5 |