WRApplication
External kratos "application" for multiscale time integration.
|
A composable pipe that takes the output of one pipe and feeds its result into another. More...
Public Types | |
using | InputPipe = TInputPipe |
using | OutputPipe = TOutputPipe |
Public Types inherited from Traits< TInputPipe::InputType, TOutputPipe::OutputType > | |
using | InputType = TInputPipe::InputType |
cv-qualified argument type of operator() More... | |
using | OutputType = TOutputPipe::OutputType |
qualified return type of operator() More... | |
Public Member Functions | |
CompoundPipe () | |
Default construct the input- and output pipes. More... | |
CompoundPipe (CompoundPipe &&rOther) noexcept=default | |
Move construct the input- and output pipes. More... | |
CompoundPipe (const CompoundPipe &rOther)=default | |
Copy construct the input- and output pipes. More... | |
template<class TInPipe = TInputPipe, class TOutPipe = TOutputPipe> | |
CompoundPipe (const Parameters &rParameters, std::enable_if_t< std::is_constructible_v< TInPipe, Parameters > &&std::is_constructible_v< TOutPipe, Parameters >> *=0) | |
Construct from a Parameters object. More... | |
CompoundPipe (TInputPipe &&rInputPipe, TOutputPipe &&rOutputPipe) noexcept | |
Move construct the input- and output pipes. More... | |
CompoundPipe (const TInputPipe &rInputPipe, const TOutputPipe &rOutputPipe) | |
Copy construct the input- and output pipes. More... | |
CompoundPipe::OutputType | operator() (typename CompoundPipe::InputType Input) const |
Feed the result of the input pipe into the output pipe. More... | |
Static Public Member Functions | |
static Parameters | GetDefaultParameters () noexcept |
Return an array of subparameters, containing the defaults for each pipe segment in order. More... | |
A composable pipe that takes the output of one pipe and feeds its result into another.
TInputPipe | input pipe type (left hand side). |
TOutputPipe | output pipe type (right hand side). |
CompoundPipe can be constructed by copying or moving its input- and output pipes, which are stored by value in the resulting CompoundPipe.
using InputPipe = TInputPipe |
using OutputPipe = TOutputPipe |
CompoundPipe | ( | ) |
Default construct the input- and output pipes.
|
defaultnoexcept |
Move construct the input- and output pipes.
|
default |
Copy construct the input- and output pipes.
CompoundPipe | ( | const Parameters & | rParameters, |
std::enable_if_t< std::is_constructible_v< TInPipe, Parameters > &&std::is_constructible_v< TOutPipe, Parameters >> * | = 0 |
||
) |
Construct from a Parameters object.
rParameters | Parameters consisting of a list of subparameters for constructing the nested pipes. [
{...},
...
{...}
]
|
Enabled only if both the input- and the output pipes are constructible from a Parameters instance.
|
noexcept |
Move construct the input- and output pipes.
CompoundPipe | ( | const TInputPipe & | rInputPipe, |
const TOutputPipe & | rOutputPipe | ||
) |
Copy construct the input- and output pipes.
|
staticnoexcept |
Return an array of subparameters, containing the defaults for each pipe segment in order.
CompoundPipe::OutputType operator() | ( | typename CompoundPipe< TInputPipe, TOutputPipe >::InputType | Input | ) | const |
Feed the result of the input pipe into the output pipe.