ug4
ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra > Class Template Reference
+ Inheritance diagram for ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >:

Public Member Functions

void add_evaluation_point (TPoint point)
 
void set_filename (std::string filename)
 
void set_separator (std::string separator)
 
virtual bool step_process (SmartPtr< TGridFunction > uNew, int step, number time, number dt) override
 
- Public Member Functions inherited from ug::ITimeIntegratorObserver< TDomain, TAlgebra >
virtual ~ITimeIntegratorObserver ()
 

Protected Member Functions

void initialize ()
 
virtual void write_evaluations (std::ostream &output, SmartPtr< TGridFunction > uNew, int step, number time, number dt)
 
virtual void write_header (std::ostream &output)
 
void write_point (std::ostream &output, const TPoint &point)
 

Protected Attributes

std::vector< TPointm_evaluationPoints
 
std::string m_filename
 
bool m_initialized = false
 
std::string m_separator {"\t"}
 

Private Types

typedef GridFunction< TDomain, TAlgebra > TGridFunction
 
typedef std::vector< numberTPoint
 

Static Private Attributes

static const int dim = TDomain::dim
 

Additional Inherited Members

- Public Types inherited from ug::ITimeIntegratorObserver< TDomain, TAlgebra >
typedef GridFunction< TDomain, TAlgebra > grid_function_type
 

Member Typedef Documentation

◆ TGridFunction

template<typename TDomain , typename TAlgebra >
typedef GridFunction<TDomain, TAlgebra> ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::TGridFunction
private

◆ TPoint

template<typename TDomain , typename TAlgebra >
typedef std::vector<number> ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::TPoint
private

Member Function Documentation

◆ add_evaluation_point()

template<typename TDomain , typename TAlgebra >
void ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::add_evaluation_point ( TPoint  point)
inline

References UG_COND_THROW.

◆ initialize()

template<typename TDomain , typename TAlgebra >
void ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::initialize ( )
inlineprotected

References pcl::ProcRank(), and UG_COND_THROW.

◆ set_filename()

template<typename TDomain , typename TAlgebra >
void ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::set_filename ( std::string  filename)
inline

References UG_COND_THROW.

◆ set_separator()

template<typename TDomain , typename TAlgebra >
void ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::set_separator ( std::string  separator)
inline

References UG_COND_THROW.

◆ step_process()

template<typename TDomain , typename TAlgebra >
virtual bool ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::step_process ( SmartPtr< TGridFunction uNew,
int  step,
number  time,
number  dt 
)
inlineoverridevirtual

◆ write_evaluations()

template<typename TDomain , typename TAlgebra >
virtual void ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::write_evaluations ( std::ostream &  output,
SmartPtr< TGridFunction uNew,
int  step,
number  time,
number  dt 
)
inlineprotectedvirtual

◆ write_header()

template<typename TDomain , typename TAlgebra >
virtual void ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::write_header ( std::ostream &  output)
inlineprotectedvirtual

◆ write_point()

template<typename TDomain , typename TAlgebra >
void ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::write_point ( std::ostream &  output,
const TPoint point 
)
inlineprotected

References dim.

Member Data Documentation

◆ dim

template<typename TDomain , typename TAlgebra >
const int ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::dim = TDomain::dim
staticprivate

◆ m_evaluationPoints

template<typename TDomain , typename TAlgebra >
std::vector<TPoint> ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::m_evaluationPoints
protected

◆ m_filename

template<typename TDomain , typename TAlgebra >
std::string ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::m_filename
protected

◆ m_initialized

template<typename TDomain , typename TAlgebra >
bool ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::m_initialized = false
protected

◆ m_separator

template<typename TDomain , typename TAlgebra >
std::string ug::bridge::Evaluate::PointEvaluatorBase< TDomain, TAlgebra >::m_separator {"\t"}
protected

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