adjustment for coupling-reordering or header includes and kokkos is required

This commit is contained in:
hamidrezanorouzi 2022-12-09 23:25:34 +03:30
parent f2dd0b2342
commit 878c281d45
6 changed files with 10 additions and 4 deletions

View File

@ -25,6 +25,7 @@ Licence:
#include "cells.H" #include "cells.H"
#include "contactSearchFunctions.H" #include "contactSearchFunctions.H"
#include "baseAlgorithms.H" #include "baseAlgorithms.H"
#include "ViewAlgorithms.H"
namespace pFlow namespace pFlow
{ {

View File

@ -23,6 +23,8 @@ Licence:
#include "KokkosTypes.H" #include "KokkosTypes.H"
#include "pFlowMacros.H"
#include "types.H"
namespace pFlow namespace pFlow

View File

@ -23,6 +23,7 @@ Licence:
#include "numericConstants.H" #include "numericConstants.H"
#include "KokkosUtilities.H"
inline const size_t sizeToSerial__ = 64; inline const size_t sizeToSerial__ = 64;

View File

@ -21,11 +21,12 @@ Licence:
#ifndef __combinedRange_H__ #ifndef __combinedRange_H__
#define __combinedRange_H__ #define __combinedRange_H__
#include <vector>
#include "stridedRange.H" #include "stridedRange.H"
#include "intervalRange.H" #include "intervalRange.H"
#include "Lists.H" #include "Lists.H"
#include "Vectors.H"
#include "Set.H" #include "Set.H"
namespace pFlow namespace pFlow
@ -52,7 +53,7 @@ public:
combinedRange(){} combinedRange(){}
combinedRange(const wordVector& strRanges) combinedRange(const std::vector<word>& strRanges)
{ {
if(!addRanges(strRanges)) if(!addRanges(strRanges))
{ {
@ -60,7 +61,7 @@ public:
} }
} }
bool addRanges(const wordVector& strRanges) bool addRanges(const std::vector<word>& strRanges)
{ {
for(auto& sR: strRanges) for(auto& sR: strRanges)
{ {

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "KokkosTypes.H"
#include "systemControl.H" #include "systemControl.H"
#include "commandLine.H" #include "commandLine.H"

View File

@ -18,6 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "KokkosUtilities.H"
#include "systemControl.H" #include "systemControl.H"
#include "timeFolder.H" #include "timeFolder.H"
#include "commandLine.H" #include "commandLine.H"