#include <GridData_TransitionCoeff.h>

Inheritance diagram for GridData_TransitionCoeff:

Creates a GridData object for TransitionCoeff-based responses, used to interpolate TransitionCoeff objects. More...

Public Types

typedef std::vector< TagManagerVec_TagManager
 
typedef std::vector< SP_TransitionCoeffVec_SP_TransCoeff
 
typedef std::shared_ptr< Vec_X > SP_Vec_X
 
typedef GridData_TransitionCoeff GdTC
 

Public Member Functions

 ~GridData_TransitionCoeff ()
 
void setx (const Vec_TagManager &, const std::vector< std::string >, const size_t)
 
void setr (std::vector< GridView_TransitionCoeff > &)
 
SP_TransitionCoeff interpolate_transition_coeff (Vec_Xptr)
 
std::vector< size_t > get_tm_indexMap ()
 Get the flat-index map of where each tagManager is in GridData space. More...
 
Vec_Xptr getWts (const TagManager &)
 

Protected Member Functions

void clear_gridWts ()
 

Private Attributes

std::vector< size_t > b_tm_indexMap
 Flat index map of where each TagManager lives in GridData space. More...
 
std::vector< std::string > b_extentTags
 Interpolated tags defining the grid extents. More...
 
std::vector< SP_Vec_Xb_xGrids
 The xgrid values for each dimension. More...
 
std::vector< GridView_TransitionCoeffb_gvResponses
 The response vectors to interpolate on. More...
 
std::vector< Vec_X * > b_gridWts
 Grid weights. More...
 

Detailed Description

Creates a GridData object for TransitionCoeff-based responses, used to interpolate TransitionCoeff objects.

Author
Steven E. Skutnik
Date
May 20, 2015

This class is used to initialize a GridData object for interpolating TransitionCoeff-based responses, starting from a set of TagManagers used to define the Grid extents.

The purposes of this class are to:

  • Provide a simplified means of creating an interpolation grid for TransitionCoeff objects, based on a set of TagManagers that will define the extents (interpolation dimensions)
  • Provide a means of "ownership" for the grid extents (i.e., the vector references that define the grid extents), including ensuring their destruction when no longer in use

This is done by making an interface to GridData that "owns" the grid extents and responses.

Examples:
tstGridView.cpp.

Member Typedef Documentation

typedef std::vector<TagManager> Vec_TagManager
typedef std::vector<SP_TransitionCoeff> Vec_SP_TransCoeff
typedef std::shared_ptr<Vec_X> SP_Vec_X

Constructor & Destructor Documentation

Member Function Documentation

void setx ( const Vec_TagManager ,
const std::vector< std::string >  ,
const size_t   
)
void setr ( std::vector< GridView_TransitionCoeff > &  gridResponses)
SP_TransitionCoeff interpolate_transition_coeff ( Vec_Xptr  wts)
std::vector<size_t> get_tm_indexMap ( )
inline

Get the flat-index map of where each tagManager is in GridData space.

Examples:
tstGridView.cpp.

References GridData_TransitionCoeff::b_tm_indexMap.

Referenced by Origen::interpLibraryND(), and TEST().

Member Data Documentation

std::vector<size_t> b_tm_indexMap
private

Flat index map of where each TagManager lives in GridData space.

Referenced by GridData_TransitionCoeff::get_tm_indexMap(), and GridData_TransitionCoeff::setx().

std::vector<std::string> b_extentTags
private

Interpolated tags defining the grid extents.

Referenced by GridData_TransitionCoeff::getWts(), and GridData_TransitionCoeff::setx().

std::vector<SP_Vec_X> b_xGrids
private

The xgrid values for each dimension.

Referenced by GridData_TransitionCoeff::setx().

std::vector<GridView_TransitionCoeff> b_gvResponses
private

The response vectors to interpolate on.

Referenced by GridData_TransitionCoeff::interpolate_transition_coeff(), and GridData_TransitionCoeff::setr().

std::vector<Vec_X*> b_gridWts
private

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