PFASST++
pfasst::encap::VectorFactory< scalar, time > Class Template Reference

#include <vector.hpp>

+ Inheritance diagram for pfasst::encap::VectorFactory< scalar, time >:
+ Collaboration diagram for pfasst::encap::VectorFactory< scalar, time >:

Public Member Functions

 VectorFactory (const size_t size)
 
virtual shared_ptr< Encapsulation< time > > create (const EncapType) override
 Actual method to create Encapsulation object of specific type. More...
 
size_t dofs () const
 

Protected Attributes

size_t size
 

Detailed Description

template<typename scalar, typename time = time_precision>
class pfasst::encap::VectorFactory< scalar, time >

Template Parameters
scalarprecision and numerical type of the data values
timeprecision of the time points; defaults to pfasst::time_precision

Definition at line 130 of file vector.hpp.

Constructor & Destructor Documentation

template<typename scalar , typename time >
pfasst::encap::VectorFactory< scalar, time >::VectorFactory ( const size_t  size)

Definition at line 148 of file vector_impl.hpp.

Member Function Documentation

template<typename scalar , typename time >
shared_ptr< Encapsulation< time > > pfasst::encap::VectorFactory< scalar, time >::create ( const EncapType  type)
overridevirtual

Actual method to create Encapsulation object of specific type.

Parameters
[in]typeencapsulation type of the requested Encapsulation object

Implements pfasst::encap::EncapFactory< time >.

Definition at line 159 of file vector_impl.hpp.

template<typename scalar , typename time >
size_t pfasst::encap::VectorFactory< scalar, time >::dofs ( ) const

Definition at line 153 of file vector_impl.hpp.

Member Data Documentation

template<typename scalar , typename time = time_precision>
size_t pfasst::encap::VectorFactory< scalar, time >::size
protected

Definition at line 134 of file vector.hpp.


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