PTEMS  0.1.0-dev+git.47ec727
PolyTopic Element Method Solver
ptems::TiedDiscreteFunctions< DiscreteFuncTemplate > Class Template Reference

Can tie multiple functions together for assigning the vector rsult of a linear solver to multiple variables. More...

#include <ptems/discretefunction.hpp>

Public Member Functions

 TiedDiscreteFunctions (DiscreteFuncTemplate &... functions)
 Creates set of functions "tied" together. More...
 
template<typename T >
TiedDiscreteFunctionsoperator= (const std::vector< T > &result)
 Assign vector result from linear solver to the set of tied functions. More...
 

Detailed Description

template<typename... DiscreteFuncTemplate>
class ptems::TiedDiscreteFunctions< DiscreteFuncTemplate >

Can tie multiple functions together for assigning the vector rsult of a linear solver to multiple variables.

Constructor & Destructor Documentation

◆ TiedDiscreteFunctions()

template<typename... DiscreteFuncTemplate>
ptems::TiedDiscreteFunctions< DiscreteFuncTemplate >::TiedDiscreteFunctions ( DiscreteFuncTemplate &...  functions)
inline

Creates set of functions "tied" together.

Parameters
functionsLis tof functions to tie

Member Function Documentation

◆ operator=()

template<typename... DiscreteFuncTemplate>
template<typename T >
TiedDiscreteFunctions& ptems::TiedDiscreteFunctions< DiscreteFuncTemplate >::operator= ( const std::vector< T > &  result)
inline

Assign vector result from linear solver to the set of tied functions.

Template Parameters
TType of vector value to assign
Parameters
resultVector to assign to the functions

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