All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Data Fields
o2scl::eos_sn_base::slice Class Reference

A slice of data from eos_sn_base for one index fixed. More...

Detailed Description

This class allows one to easily construct a o2scl::interp2_direct object automatically by fixing one index from one of the o2scl::tensor_grid3 objects in a child of o2scl::eos_sn_base .

Definition at line 313 of file eos_sn.h.

#include <eos_sn.h>

Public Types

typedef std::function< double
&(size_t, size_t)> 
data_t
 Typedef for the matrix type.
 

Public Member Functions

void set_nB_T (tensor_grid3 &tg3, size_t iYe)
 Set the slice to correspond to a matrix in the form $ (n_B,T) $.
 
void set_nB_Ye (tensor_grid3 &tg3, size_t iT)
 Set the slice to correspond to a matrix in the form $ (n_B,Y_e) $.
 
void set_T_Ye (tensor_grid3 &tg3, size_t inB)
 Set the slice to correspond to a matrix in the form $ (T,Y_e) $.
 

Data Fields

data_t data
 Data object in the form of a matrix.
 
interp2_direct< ubvector,
data_t, matrix_row_gen< data_t >
, matrix_column_gen< data_t > > 
it
 The interpolation object.
 
Grid vectors
ubvector grid_x
 
ubvector grid_y
 

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

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).
Hosted at Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads..