Classes | Namespaces
acolm.h File Reference

The o2scl_acol::acol_manager class header. More...

#include <iostream>
#include <string>
#include <vector>
#include <fnmatch.h>
#include <o2scl/misc.h>
#include <o2scl/cli.h>
#include <o2scl/fit_nonlin.h>
#include <o2scl/table_units.h>
#include <o2scl/table3d.h>
#include <o2scl/format_float.h>
#include <o2scl/hdf_file.h>
#include <o2scl/hdf_io.h>
#include <o2scl/lib_settings.h>
#include <o2scl/contour.h>
#include <o2scl/tensor_grid.h>

Go to the source code of this file.

Classes

class  o2scl_acol::acol_manager
 The driver for 'acol' command-line utility. More...
 

Namespaces

 o2scl_acol
 A namespace for objects associated with the command-line utility 'acol'.
 

Functions

Functions to integrate o2scl_acol::acol_manager with python
void * o2scl_create_acol_manager ()
 Create an o2scl_acol::acol_manager object. More...
 
void o2scl_free_acol_manager (void *vp)
 Free memory associated with a o2scl_acol::acol_manager object. More...
 
void o2scl_acol_set_names (void *vp, int n1, char *cmd_name, int n2, char *short_desc, int n3, char *env_var)
 Set the command name, the short description, and the environment variable name.
 
std::vector< std::string > o2scl_acol_parse_arrays (int n_entries, int *sizes, char *str)
 Construct a string vector from the data in n_entries, sizes, and str.
 
void o2scl_acol_parse (void *vp, int n_entries, int *sizes, char *str)
 Parse the set of commands in n_entries, sizes and str.
 
int o2scl_acol_get_column (void *vp, char *col_name, int &n, double *&ptr)
 Return the size and a pointer to the column named col_name in a o2scl::table object.
 
int o2scl_acol_get_row_ser (void *vp, char *parttern, int row_index, int &n, double *&ptr)
 Return the size and a pointer to the row with index row_index in a o2scl::table object.
 
int o2scl_acol_get_double_arr (void *vp, int &n, double *&ptr)
 Return the size and a pointer to the column named col_name in a o2scl::table object.
 
int o2scl_acol_get_hist_reps (void *vp, int &n, double *&ptr)
 Return the size and a pointer to the column named col_name in a o2scl::table object.
 
int o2scl_acol_get_hist_wgts (void *vp, int &n, double *&ptr)
 Return the size and a pointer to the column named col_name in a o2scl::table object.
 
int o2scl_acol_pdma_get_base (void *vp, int &ndim, int &n, double *&low, double *&high)
 Return the dimensionality, mesh size, and lower and upper limits for a o2scl::prob_dens_mdim_amr object.
 
int o2scl_acol_pdma_get_cube (void *vp, int ix, double *&low, double *&high, double &frac_vol, double &weight)
 Return the lower and upper limits, fractional volume, and weight for the o2scl::prob_dens_mdim_amr::hypercube object of index ix.
 
int o2scl_acol_contours_n (void *vp)
 Return the number of contour lines associated with the current contour line vector object.
 
double o2scl_acol_contours_line (void *vp, int i, int &n, double *&ptrx, double *&ptry)
 For the current contour line vector object, set the pointers to the x- and y-values in the contour lines and return the contour level.
 
void o2scl_acol_get_type (void *vp, int &n, char *&str)
 Return the type of the current object.
 
int o2scl_acol_get_slice (void *vp, char *slice_name, int &nx, double *&xptr, int &ny, double *&yptr, double *&data)
 Return the size and a pointer to the column named col_name in a o2scl::table object.
 
int o2scl_acol_get_hist_2d (void *vp, int &nx, double *&xptr, int &ny, double *&yptr, double *&data)
 For a two-dimensional histogram, return the bin edges, number of bins in both directions, and the weights in each bin.
 

Function Documentation

◆ o2scl_create_acol_manager()

void* o2scl_create_acol_manager ( )

This function creates an object of type o2scl_acol::acol_manager with the new operator and then calls the function o2scl_acol::acol_manager::run() .

◆ o2scl_free_acol_manager()

void o2scl_free_acol_manager ( void *  vp)

This function uses delete to free the memory associated with an object of type o2scl_acol::acol_manager .

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).