ROL
Public Member Functions | List of all members
ROL::UserInputGenerator< Real > Class Template Reference

#include <ROL_UserInputGenerator.hpp>

+ Inheritance diagram for ROL::UserInputGenerator< Real >:

Public Member Functions

 UserInputGenerator (std::string file_pt, std::string file_wt, int n, int dim, Teuchos::RCP< BatchManager< Real > > &bman)
 
void refine (void)
 
- Public Member Functions inherited from ROL::SampleGenerator< Real >
virtual ~SampleGenerator ()
 
 SampleGenerator (Teuchos::RCP< BatchManager< Real > > &bman)
 
 SampleGenerator (const SampleGenerator< Real > &sampler)
 
virtual void update (const Vector< Real > &x)
 
virtual int start (void)
 
virtual Real computeError (std::vector< Real > &vals)
 
virtual Real computeError (std::vector< Teuchos::RCP< Vector< Real > > > &vals, const Vector< Real > &x)
 
virtual void setSamples (bool inConstructor=false)
 
virtual int numMySamples (void) const
 
virtual std::vector< Real > getMyPoint (const int i) const
 
virtual Real getMyWeight (const int i) const
 
int batchID (void) const
 
int numBatches (void) const
 
void sumAll (Real *input, Real *output, int dim) const
 
void sumAll (Vector< Real > &input, Vector< Real > &output) const
 
void barrier (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from ROL::SampleGenerator< Real >
void setPoints (std::vector< std::vector< Real > > &p)
 
void setWeights (std::vector< Real > &w)
 

Detailed Description

template<class Real>
class ROL::UserInputGenerator< Real >

Definition at line 56 of file ROL_UserInputGenerator.hpp.

Constructor & Destructor Documentation

template<class Real >
ROL::UserInputGenerator< Real >::UserInputGenerator ( std::string  file_pt,
std::string  file_wt,
int  n,
int  dim,
Teuchos::RCP< BatchManager< Real > > &  bman 
)
inline

Member Function Documentation

template<class Real >
void ROL::UserInputGenerator< Real >::refine ( void  )
inlinevirtual

Reimplemented from ROL::SampleGenerator< Real >.

Definition at line 113 of file ROL_UserInputGenerator.hpp.


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