WRApplication
External kratos "application" for multiscale time integration.
Kratos::WRApp Namespace Reference

Namespaces

 Impl
 

Classes

struct  MPIUtils
 
class  ModelPredicatePipe
 
class  CheckpointID
 Class enapsulating data and functionality for uniquely identifying a Checkpoint or Snapshot. More...
 
class  ContainerProxy
 A view with a uniform interface for ModelPart::NodesContainerType, ModelPart::ElementsContainerType, or ModelPart::ConditionsContainerType. More...
 
class  DataValueContainerKeyIterator
 Iterator providing access to variables' names within a DataValueContainer. More...
 
class  DynamicEntityProxy
 Runtime version of EntityProxy. More...
 
class  EntityProxy
 Wrapper class providing a uniform interface for historical/non-historical Node, Element, and Condition. More...
 
class  Hdf5IdToIndexOperation
 
class  Hdf5IndexConnectivitiesOperation
 
class  Hdf5LinSpaceOperation
 
class  MapKeyIterator
 Iterator providing access to the keys of an std::map or std::unordered_map. More...
 
struct  ModelPredicate
 Base class for functors that take a Model and return a bool. More...
 
class  OptionalRef
 An optional, modeling a pointer. More...
 
struct  WRAppClass
 Dummy base class for registering and exporting exposed classes in WRApplication. More...
 

Typedefs

using IntervalUtility = Impl::IntervalUtility< double >
 A class providing membership tests on 1D rational intervals (eg.: time intervals). More...
 
using DiscreteIntervalUtility = Impl::IntervalUtility< int >
 A class providing membership tests on 1D integer intervals (eg.: step intervals). More...
 
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...
 
using DataValueContainerKeyRange = Range< DataValueContainerKeyIterator >
 Range class iterating over the variable names within a DataValueContainer. More...
 
template<class TMap >
using MapKeyRange = Range< MapKeyIterator< typename TMap::const_iterator > >
 Range class iterating over the keys of a standard-conforming map type. More...
 

Functions

template<>
auto MakeProxy< Globals::DataLocation::NodeHistorical, ModelPart > (const ModelPart &rModelPart)
 Convenience function for constructing immutable ContainerProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::NodeHistorical, ModelPart > (ModelPart &rModelPart)
 Convenience function for constructing mutable ContainerProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::NodeNonHistorical, ModelPart > (const ModelPart &rModelPart)
 Convenience function for constructing immutable ContainerProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::NodeNonHistorical, ModelPart > (ModelPart &rModelPart)
 Convenience function for constructing mutable ContainerProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Element, ModelPart > (const ModelPart &rModelPart)
 Convenience function for constructing immutable ContainerProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Element, ModelPart > (ModelPart &rModelPart)
 Convenience function for constructing mutable ContainerProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Condition, ModelPart > (const ModelPart &rModelPart)
 Convenience function for constructing immutable ContainerProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Condition, ModelPart > (ModelPart &rModelPart)
 Convenience function for constructing mutable ContainerProxy instances. More...
 
template<Globals::DataLocation TLocation, class TEntity >
auto MakeProxy (const TEntity &rEntity)
 Invalid template base to be specialized for valid template parameters. More...
 
template<Globals::DataLocation TLocation, class TEntity >
auto MakeProxy (TEntity &rEntity)
 Invalid template base to be specialized for valid template parameters. More...
 
template<>
auto MakeProxy< Globals::DataLocation::NodeHistorical, Node > (const Node &rEntity)
 Convenience function for constructing immutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::NodeHistorical, Node > (Node &rEntity)
 Convenience function for constructing mutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::NodeNonHistorical, Node > (const Node &rEntity)
 Convenience function for constructing immutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::NodeNonHistorical, Node > (Node &rEntity)
 Convenience function for constructing mutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Element, Element > (const Element &rEntity)
 Convenience function for constructing immutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Element, Element > (Element &rEntity)
 Convenience function for constructing mutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Condition, Condition > (const Condition &rEntity)
 Convenience function for constructing immutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::Condition, Condition > (Condition &rEntity)
 Convenience function for constructing mutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::ProcessInfo, ProcessInfo > (const ProcessInfo &rEntity)
 Convenience function for constructing immutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::ProcessInfo, ProcessInfo > (ProcessInfo &rEntity)
 Convenience function for constructing mutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::ModelPart, ModelPart > (const ModelPart &rEntity)
 Convenience function for constructing immutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::ModelPart, ModelPart > (ModelPart &rEntity)
 Convenience function for constructing mutable EntityProxy instances. More...
 
template<>
auto MakeProxy< Globals::DataLocation::ProcessInfo, ModelPart > (const ModelPart &rModelPart)
 Convenience function for constructing a mutable ProcessInfo proxy from a ModelPart. More...
 
template<>
auto MakeProxy< Globals::DataLocation::ProcessInfo, ModelPart > (ModelPart &rModelPart)
 Convenience function for constructing an immutable ProcessInfo proxy from a ModelPart. More...
 
template<class TMap >
 MapKeyRange< TMap > (WR_APPLICATION) MakeConstMapKeyRange(const TMap &rMap)
 Create a view on the keys of an std::map or std::unordered_map. More...
 
template<class TIterator , class IsConstRange = void>
class Range KRATOS_DEFINE_RANGE (TIterator,)
 Class representing a view into a subrange of a container. More...
 
template<class TIterator >
class Range< TIterator, typename std::enable_if< Detail::IsConstIterator< TIterator >::value >::type > KRATOS_DEFINE_RANGE (TIterator, const)
 Class representing a view into a subrange of an immutable container. More...
 

Detailed Description

Author
Máté Kelemen

Function Documentation

◆ MakeProxy< Globals::DataLocation::Condition, ModelPart >() [1/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::Condition, ModelPart > ( const ModelPart &  rModelPart)
inline

Convenience function for constructing immutable ContainerProxy instances.

◆ MakeProxy< Globals::DataLocation::Condition, ModelPart >() [2/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::Condition, ModelPart > ( ModelPart &  rModelPart)
inline

Convenience function for constructing mutable ContainerProxy instances.

◆ MakeProxy< Globals::DataLocation::Element, ModelPart >() [1/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::Element, ModelPart > ( const ModelPart &  rModelPart)
inline

Convenience function for constructing immutable ContainerProxy instances.

◆ MakeProxy< Globals::DataLocation::Element, ModelPart >() [2/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::Element, ModelPart > ( ModelPart &  rModelPart)
inline

Convenience function for constructing mutable ContainerProxy instances.

◆ MakeProxy< Globals::DataLocation::NodeHistorical, ModelPart >() [1/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::NodeHistorical, ModelPart > ( const ModelPart &  rModelPart)
inline

Convenience function for constructing immutable ContainerProxy instances.

◆ MakeProxy< Globals::DataLocation::NodeHistorical, ModelPart >() [2/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::NodeHistorical, ModelPart > ( ModelPart &  rModelPart)
inline

Convenience function for constructing mutable ContainerProxy instances.

◆ MakeProxy< Globals::DataLocation::NodeNonHistorical, ModelPart >() [1/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::NodeNonHistorical, ModelPart > ( const ModelPart &  rModelPart)
inline

Convenience function for constructing immutable ContainerProxy instances.

◆ MakeProxy< Globals::DataLocation::NodeNonHistorical, ModelPart >() [2/2]

auto Kratos::WRApp::MakeProxy< Globals::DataLocation::NodeNonHistorical, ModelPart > ( ModelPart &  rModelPart)
inline

Convenience function for constructing mutable ContainerProxy instances.