#include <GridData_TransitionCoeff.h>

Creates a GridData object for TransitionCoeff-based responses, used to interpolate TransitionCoeff objects. More...
Public Types | |
typedef std::vector< TagManager > | Vec_TagManager |
typedef std::vector< SP_TransitionCoeff > | Vec_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_X > | b_xGrids |
The xgrid values for each dimension. More... | |
std::vector< GridView_TransitionCoeff > | b_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.
- 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 |
typedef GridData_TransitionCoeff GdTC |
Constructor & Destructor Documentation
References GridData_TransitionCoeff::clear_gridWts().
Member Function Documentation
void setx | ( | const Vec_TagManager & | , |
const std::vector< std::string > | , | ||
const size_t | |||
) |
- Examples:
- tstGridView.cpp.
References GridData_TransitionCoeff::b_extentTags, GridData_TransitionCoeff::b_tm_indexMap, GridData_TransitionCoeff::b_xGrids, and kernel_rksuite::f().
Referenced by Origen::interpLibraryND(), and TEST().
void setr | ( | std::vector< GridView_TransitionCoeff > & | gridResponses | ) |
- Examples:
- tstGridView.cpp.
References GridData_TransitionCoeff::b_gvResponses, kernel_rksuite::f(), and r.
Referenced by Origen::interpLibraryND(), and TEST().
SP_TransitionCoeff interpolate_transition_coeff | ( | Vec_Xptr | wts | ) |
- Examples:
- tstGridView.cpp.
References GridData_TransitionCoeff::b_gvResponses.
Referenced by Origen::interpLibraryND(), and TEST().
|
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().
GridData_TransitionCoeff::Vec_Xptr getWts | ( | const TagManager & | tm | ) |
|
protected |
References GridData_TransitionCoeff::b_gridWts.
Referenced by GridData_TransitionCoeff::getWts(), and GridData_TransitionCoeff::~GridData_TransitionCoeff().
Member Data Documentation
|
private |
Flat index map of where each TagManager lives in GridData space.
Referenced by GridData_TransitionCoeff::get_tm_indexMap(), and GridData_TransitionCoeff::setx().
|
private |
Interpolated tags defining the grid extents.
Referenced by GridData_TransitionCoeff::getWts(), and GridData_TransitionCoeff::setx().
|
private |
The xgrid values for each dimension.
Referenced by GridData_TransitionCoeff::setx().
|
private |
The response vectors to interpolate on.
Referenced by GridData_TransitionCoeff::interpolate_transition_coeff(), and GridData_TransitionCoeff::setr().
|
private |
Grid weights.
Referenced by GridData_TransitionCoeff::clear_gridWts(), and GridData_TransitionCoeff::getWts().
The documentation for this class was generated from the following files:
- Core/dc/GridData_TransitionCoeff.h
- Core/dc/GridData_TransitionCoeff.cpp