WRApplication
External kratos "application" for multiscale time integration.
ModelPredicate.hpp
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // license: HDF5Application/license.txt
9 //
10 // Main author: Máté Kelemen
11 //
12 
13 #pragma once
14 
15 // Core includes
16 #include "containers/model.h"
17 #include "includes/define.h"
18 
19 
20 namespace Kratos::WRApp {
21 
22 
24 struct KRATOS_API(WRApplication) ModelPredicate
25 {
27 
28  virtual ~ModelPredicate() {}
29 
30  virtual bool operator()(const Model& rModel) const = 0;
31 }; // struct ModelPredicate
32 
33 
34 } // namespace Kratos::WRApp
Definition: MPIUtils.hpp:9
Base class for functors that take a Model and return a bool.
Definition: ModelPredicate.hpp:25
virtual ~ModelPredicate()
Definition: ModelPredicate.hpp:28
KRATOS_CLASS_POINTER_DEFINITION(ModelPredicate)
virtual bool operator()(const Model &rModel) const =0