WRApplication
External kratos "application" for multiscale time integration.
|
Typedefs | |
using | ConstModelPredicate = ModelPredicatePipe< Pipes::SingleSegmentPipeline< Pipes::ConstPredicate< const Model & > > > |
Always returns the boolean value it was constructed with, regardless of the input Model. More... | |
using | TimeIntervalPredicate = ModelPredicatePipe< Pipes::Pipeline< Pipes::ModelPartFromModel, Pipes::ProcessInfoFromModelPart, Pipes::TimeFromProcessInfo, Pipes::IntervalPredicate< double > > > |
Check whether TIME is greater than the provided value. More... | |
using | StepIntervalPredicate = ModelPredicatePipe< Pipes::Pipeline< Pipes::ModelPartFromModel, Pipes::ProcessInfoFromModelPart, Pipes::StepFromProcessInfo, Pipes::IntervalPredicate< int > > > |
Check whether STEP in a ModelPart is within an interval. More... | |
using | PeriodicTimeIntervalPredicate = ModelPredicatePipe< Pipes::Pipeline< Pipes::ModelPartFromModel, Pipes::ProcessInfoFromModelPart, Pipes::TimeFromProcessInfo, Pipes::Add< double >, Pipes::Modulo< double >, Pipes::IntervalPredicate< double > > > |
Check whether TIME in a ModelPart is within a cyclic interval. More... | |
using | PeriodicStepIntervalPredicate = ModelPredicatePipe< Pipes::Pipeline< Pipes::ModelPartFromModel, Pipes::ProcessInfoFromModelPart, Pipes::StepFromProcessInfo, Pipes::Modulo< int >, Pipes::IntervalPredicate< int > > > |
Check whether STEP in a ModelPart is within a cyclic interval. More... | |
template<class TPipe > | |
using | IsPipe = std::integral_constant< bool, std::is_same_v< decltype(std::declval< const TPipe >().operator()(std::declval< typename TPipe::InputType >())), typename TPipe::OutputType > &&!std::is_same_v< typename TPipe::InputType, void > &&!std::is_same_v< typename TPipe::OutputType, void > > |
Bool constant checking whether TPipe satisfies the requirements of a pipe. More... | |
template<class ... TPipes> | |
using | Pipeline = decltype((...|std::declval< TPipes >())) |
Convenience type alias for complex pipes. More... | |
Functions | |
template<class TInput , class TPipe , std::enable_if_t< IsPipe< TPipe >::value &&std::is_convertible_v< TInput, typename TPipe::InputType >, bool > = true> | |
TPipe::OutputType | operator>> (TInput &&rInput, const TPipe &rPipe) |
Operator for calling operator() of the pipe. More... | |
template<class TInputPipe , class TOutputPipe , std::enable_if_t< IsPipe< TInputPipe >::value &&IsPipe< TOutputPipe >::value, bool > = true> | |
CompoundPipe< TInputPipe, TOutputPipe > | operator| (TInputPipe &&rInputPipe, TOutputPipe &&rOutputPipe) |
Construct a pipe that takes the output of an input pipe and feeds it into an output pipe. More... | |
template<class TInputPipe , class TOutputPipe , std::enable_if_t< IsPipe< TInputPipe >::value &&IsPipe< TOutputPipe >::value, bool > = true> | |
CompoundPipe< TInputPipe, TOutputPipe > | operator| (const TInputPipe &rInputPipe, const TOutputPipe &rOutputPipe) |
Construct a pipe that takes the output of an input pipe and feeds it into an output pipe. More... | |
using ConstModelPredicate = ModelPredicatePipe<Pipes::SingleSegmentPipeline< Pipes::ConstPredicate<const Model&> > > |
Always returns the boolean value it was constructed with, regardless of the input Model.
. Required parameters:
using IsPipe = std::integral_constant<bool, std::is_same_v<decltype(std::declval<const TPipe>().operator()(std::declval<typename TPipe::InputType>())), typename TPipe::OutputType> && !std::is_same_v<typename TPipe::InputType,void> && !std::is_same_v<typename TPipe::OutputType,void> > |
Bool constant checking whether TPipe satisfies the requirements of a pipe.
Pipe requirements:
Check whether STEP in a ModelPart is within a cyclic interval.
. Required parameters (other settings ignored):
Example with
using PeriodicTimeIntervalPredicate = ModelPredicatePipe<Pipes::Pipeline< Pipes::ModelPartFromModel, Pipes::ProcessInfoFromModelPart, Pipes::TimeFromProcessInfo, Pipes::Add<double>, Pipes::Modulo<double>, Pipes::IntervalPredicate<double> > > |
Check whether TIME in a ModelPart is within a cyclic interval.
. Required parameters (other settings ignored):
Example with
using Pipeline = decltype((... | std::declval<TPipes>())) |
Convenience type alias for complex pipes.
using StepIntervalPredicate = ModelPredicatePipe<Pipes::Pipeline< Pipes::ModelPartFromModel, Pipes::ProcessInfoFromModelPart, Pipes::StepFromProcessInfo, Pipes::IntervalPredicate<int> > > |
Check whether STEP in a ModelPart is within an interval.
. Required parameters (other settings ignored):
using TimeIntervalPredicate = ModelPredicatePipe<Pipes::Pipeline< Pipes::ModelPartFromModel, Pipes::ProcessInfoFromModelPart, Pipes::TimeFromProcessInfo, Pipes::IntervalPredicate<double> > > |
Check whether TIME is greater than the provided value.
. Default parameters:
TPipe::OutputType Kratos::Pipes::operator>> | ( | TInput && | rInput, |
const TPipe & | rPipe | ||
) |
Operator for calling operator() of the pipe.
CompoundPipe<TInputPipe,TOutputPipe> Kratos::Pipes::operator| | ( | const TInputPipe & | rInputPipe, |
const TOutputPipe & | rOutputPipe | ||
) |
Construct a pipe that takes the output of an input pipe and feeds it into an output pipe.
CompoundPipe<TInputPipe,TOutputPipe> Kratos::Pipes::operator| | ( | TInputPipe && | rInputPipe, |
TOutputPipe && | rOutputPipe | ||
) |
Construct a pipe that takes the output of an input pipe and feeds it into an output pipe.