|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
The sum Op := op1 + op2 of two operators sharing a domain and range.
#include <linear_ops.hpp>
Classes | |
| struct | Workspace |
Public Types | |
| using | backend_t = Backend |
| using | op1_storage_t = ::mundy::storage<Op1> |
| using | op2_storage_t = ::mundy::storage<Op2> |
Public Member Functions | |
| SumOp (backend_t, Op1 &&op1, Op2 &&op2) | |
| Backend | backend () const |
| const auto & | op1 () const |
| const auto & | op2 () const |
| size_t | domain_size () const |
| size_t | range_size () const |
| auto | make_domain_vector () const |
| auto | make_range_vector () const |
| auto | make_workspace (bool committed=false) const |
| template<class TmpVector, class Op1Workspace, class Op2Workspace> | |
| auto | make_workspace (TmpVector &&tmp, Op1Workspace &&op1_workspace, Op2Workspace &&op2_workspace, bool committed=false) const |
| template<class XVector, class YVector, class WorkspaceType> | |
| void | apply (const XVector &x, YVector &y, WorkspaceType &workspace) const |
| template<class XVector, class YVector> | |
| void | apply (const XVector &x, YVector &y) const |
| using mundy::SumOp< Backend, Op1, Op2 >::backend_t = Backend |
| using mundy::SumOp< Backend, Op1, Op2 >::op1_storage_t = ::mundy::storage<Op1> |
| using mundy::SumOp< Backend, Op1, Op2 >::op2_storage_t = ::mundy::storage<Op2> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |