deal.II version GIT relicensing-2291-g668cd86249 2024-12-24 11:30:00+00:00
|
Public Member Functions | |
FunctorTemplate (ReadWriteVector< Number > &parent, const Functor &functor) | |
virtual void | operator() (const size_type begin, const size_type end) |
Private Attributes | |
ReadWriteVector & | parent |
const Functor & | functor |
This class provides a wrapper around a Functor which acts on single elements of the vector. This is necessary to use tbb::parallel_for which requires a TBBForFunctor.
Definition at line 799 of file read_write_vector.h.
LinearAlgebra::ReadWriteVector< Number >::FunctorTemplate< Functor >::FunctorTemplate | ( | ReadWriteVector< Number > & | parent, |
const Functor & | functor | ||
) |
Constructor. Take a functor and store a copy of it.
|
virtual |
Evaluate the element with the stored copy of the functor.
|
private |
Alias to the ReadWriteVector object that owns the FunctorTemplate.
Definition at line 817 of file read_write_vector.h.
|
private |
Copy of the functor.
Definition at line 822 of file read_write_vector.h.