Multiscale Universal Interface  2.0
A Concurrent Framework for Coupling Heterogeneous Solvers
algo_null.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Multiscale Universal Interface Code Coupling Library *
3 * *
4 * Copyright (C) 2019 Y. H. Tang, S. Kudo, X. Bian, Z. Li, G. E. Karniadakis *
5 * W. Liu *
6 * *
7 * This software is jointly licensed under the Apache License, Version 2.0 *
8 * and the GNU General Public License version 3, you may use it according *
9 * to either. *
10 * *
11 * ** Apache License, version 2.0 ** *
12 * *
13 * Licensed under the Apache License, Version 2.0 (the "License"); *
14 * you may not use this file except in compliance with the License. *
15 * You may obtain a copy of the License at *
16 * *
17 * http://www.apache.org/licenses/LICENSE-2.0 *
18 * *
19 * Unless required by applicable law or agreed to in writing, software *
20 * distributed under the License is distributed on an "AS IS" BASIS, *
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
22 * See the License for the specific language governing permissions and *
23 * limitations under the License. *
24 * *
25 * ** GNU General Public License, version 3 ** *
26 * *
27 * This program is free software: you can redistribute it and/or modify *
28 * it under the terms of the GNU General Public License as published by *
29 * the Free Software Foundation, either version 3 of the License, or *
30 * (at your option) any later version. *
31 * *
32 * This program is distributed in the hope that it will be useful, *
33 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
35 * GNU General Public License for more details. *
36 * *
37 * You should have received a copy of the GNU General Public License *
38 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
39 *****************************************************************************/
40 
49 #ifndef MUI_COUPLING_ALGORITHM_NULL_H_
50 #define MUI_COUPLING_ALGORITHM_NULL_H_
51 
52 #include "../../general/util.h"
53 #include "../../config.h"
54 
55 namespace mui {
56 
57 template<typename CONFIG=default_config> class algo_null {
58 public:
59  using REAL = typename CONFIG::REAL;
60  using INT = typename CONFIG::INT;
61  using time_type = typename CONFIG::time_type;
62  using point_type = typename CONFIG::point_type;
63 
64  algo_null( ) {
65 
66  }
67 
68  //- relaxation based on single time value
69  template<typename OTYPE>
70  OTYPE relaxation(time_type t, point_type focus, OTYPE filteredValue) const {
71 
72  }
73 
74 };
75 
76 }
77 
78 #endif /* MUI_COUPLING_ALGORITHM_NULL_H_ */
Definition: algo_null.h:57
typename CONFIG::INT INT
Definition: algo_null.h:60
algo_null()
Definition: algo_null.h:64
typename CONFIG::time_type time_type
Definition: algo_null.h:61
typename CONFIG::point_type point_type
Definition: algo_null.h:62
typename CONFIG::REAL REAL
Definition: algo_null.h:59
OTYPE relaxation(time_type t, point_type focus, OTYPE filteredValue) const
Definition: algo_null.h:70
Definition: comm.h:54