AMRStatistics< VectorType, InterpolationType, OutputType, dim > Class Template Reference

#include <AMRStatistics.h>

Inheritance diagram for AMRStatistics< VectorType, InterpolationType, OutputType, dim >:
AMRBase< VectorType, dim > StatParser< InterpolationType::point_type, VectorType::InternalDataType, dim > controlable

List of all members.

Public Types

typedef base::vec_grid_fct_type vec_grid_fct_type
typedef GridFunction< DataType,
dim > 
grid_fct_type

Public Member Functions

 AMRStatistics (InterpolationType *int_ref, OutputType *out_ref)
void Setup (GridHierarchy *gh, const int &ghosts, int *shape, double *geom)
virtual void register_at (ControlDevice &Ctrl)
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
 ~AMRStatistics ()
virtual void CalcStat (int OpType, int Lpoints, double *adata, double *result)
virtual void CalcGradient (int groupNum, int *dir, int nvars, int Lpoints, int na, int nb, std::vector< std::vector< point_type > > cdata, std::vector< std::vector< double > > vdata, int nstep, double *t, std::ostream *out, int curl, int wv, int uw, int vu)
void Evaluate (double *t, vec_grid_fct_type &U, grid_fct_type &Work)

template<class VectorType, class InterpolationType, class OutputType, int dim>
class AMRStatistics< VectorType, InterpolationType, OutputType, dim >


Member Typedef Documentation

template<class VectorType , class InterpolationType , class OutputType , int dim>
typedef GridFunction<DataType,dim> AMRStatistics< VectorType, InterpolationType, OutputType, dim >::grid_fct_type
template<class VectorType , class InterpolationType , class OutputType , int dim>
typedef base::vec_grid_fct_type AMRStatistics< VectorType, InterpolationType, OutputType, dim >::vec_grid_fct_type

Reimplemented from AMRBase< VectorType, dim >.


Constructor & Destructor Documentation

template<class VectorType , class InterpolationType , class OutputType , int dim>
AMRStatistics< VectorType, InterpolationType, OutputType, dim >::AMRStatistics ( InterpolationType *  int_ref,
OutputType *  out_ref 
) [inline]

References MAXGRADS, MAXPERVAR, and MAXSTATOPS.

template<class VectorType , class InterpolationType , class OutputType , int dim>
AMRStatistics< VectorType, InterpolationType, OutputType, dim >::~AMRStatistics (  )  [inline]

Member Function Documentation

template<class VectorType , class InterpolationType , class OutputType , int dim>
virtual void AMRStatistics< VectorType, InterpolationType, OutputType, dim >::CalcGradient ( int  groupNum,
int *  dir,
int  nvars,
int  Lpoints,
int  na,
int  nb,
std::vector< std::vector< point_type > >  cdata,
std::vector< std::vector< double > >  vdata,
int  nstep,
double *  t,
std::ostream *  out,
int  curl,
int  wv,
int  uw,
int  vu 
) [inline, virtual]

-dir, center, +dir

curl of velocity given keys { r,u,v,w,... }

References CurrentTime(), AMRBase< VectorType, dim >::GH(), and MINFIN.

Referenced by AMRStatistics< VectorType, InterpolationType, OutputType, dim >::Evaluate().

template<class VectorType , class InterpolationType , class OutputType , int dim>
virtual void AMRStatistics< VectorType, InterpolationType, OutputType, dim >::CalcStat ( int  OpType,
int  Lpoints,
double *  adata,
double *  result 
) [inline, virtual]
template<class VectorType , class InterpolationType , class OutputType , int dim>
void AMRStatistics< VectorType, InterpolationType, OutputType, dim >::Evaluate ( double *  t,
vec_grid_fct_type U,
grid_fct_type Work 
) [inline]

open output file

write time header

for each group

for each probe

References bbox(), BeginFastIndex2, BeginFastIndex3, GridFunction< GFType, dim >::boundingbbox(), StatParser< InterpolationType::point_type, VectorType::InternalDataType, dim >::buildcoords(), AMRStatistics< VectorType, InterpolationType, OutputType, dim >::CalcGradient(), AMRStatistics< VectorType, InterpolationType, OutputType, dim >::CalcStat(), StatParser< InterpolationType::point_type, VectorType::InternalDataType, dim >::clearcoords(), StatParser::clonestack(), comm_service::comm(), CurrentTime(), EndFastIndex2, EndFastIndex3, FastIndex2, FastIndex3, FineLevel(), for_2, for_3, forall, AMRBase< VectorType, dim >::GH(), StatParser< InterpolationType::point_type, VectorType::InternalDataType, dim >::group_table, if(), _symrec< data_type >::iptr, comm_service::log(), MAXSTATOPS, me, MY_PROC, _symrec< data_type >::next, p, _symrec< data_type >::pdata, _symrec< data_type >::prev, _symrec< data_type >::ptr, _symrec< data_type >::ref, RETURN_OK, _symrec< data_type >::src, STAT_AVERAGED, STAT_DERIVED, STAT_RAW, staterror(), stepsize(), StepsTaken(), TOK_COORDINATE, TOK_DOUBLE, TOK_FUNCTION1, TOK_FUNCTION2, TOK_OP_DIV, TOK_OP_MINUS, TOK_OP_NEG, TOK_OP_PLUS, TOK_OP_POWER, TOK_OP_PROD, TOK_PLANES, TOK_POINTER, TOK_SEPARATOR, TOK_SURFACE, TOK_THREAD, TOK_VARIABLE, TOK_VARINARRAY, TOK_VOLUME, StatParser::token(), _symrec< data_type >::type, StatParser< InterpolationType::point_type, VectorType::InternalDataType, dim >::unlinksym(), _symrec< data_type >::vdata, StatParser< InterpolationType::point_type, VectorType::InternalDataType, dim >::vectorize(), and VizServer.

template<class VectorType , class InterpolationType , class OutputType , int dim>
virtual void AMRStatistics< VectorType, InterpolationType, OutputType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]
template<class VectorType , class InterpolationType , class OutputType , int dim>
virtual void AMRStatistics< VectorType, InterpolationType, OutputType, dim >::register_at ( ControlDevice Ctrl  )  [inline, virtual]

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:19:29 2016 for AMROC Fluid-solver Framework by  doxygen 1.6.3