Skip to content

Commit

Permalink
delete buoyancy files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadish Saini committed Oct 22, 2024
1 parent 43ad20c commit 64454c9
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 266 deletions.
1 change: 0 additions & 1 deletion cmake/nekrs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ set(NRS_SRC
src/plugins/tavg.cpp
src/nrs/plugins/velRecycling.cpp
src/nrs/plugins/RANSktau.cpp
src/nrs/plugins/RANSktauBuo.cpp
src/nrs/plugins/lowMach.cpp
src/nrs/plugins/lpm.cpp
src/pointInterpolation/findpts/findpts.cpp
Expand Down
7 changes: 2 additions & 5 deletions src/nrs/plugins/RANSktau.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static dfloat coeff[] = {
} // namespace


occa::memory RANSktau::implicitK(double time, int scalarIdx)
occa::memory implicitK(double time, int scalarIdx)
{
if (scalarIdx == kFieldIndex) {
return o_implicitKtau.slice(0 * nrs->fieldOffset, nrs->fieldOffset);
Expand All @@ -103,8 +103,6 @@ occa::memory RANSktau::implicitK(double time, int scalarIdx)
return o_NULL;
}

occa::properties RANSktau::RANSInfo(){return ktauInfo;}

void RANSktau::buildKernel(occa::properties _kernelInfo)
{
occa::properties kernelInfo;
Expand Down Expand Up @@ -397,7 +395,7 @@ void RANSktau::setup(int ifld)
o_mut = platform->device.malloc<dfloat>(cds->fieldOffset[kFieldIndex]);

o_implicitKtau = platform->device.malloc<dfloat>(2 * nrs->fieldOffset);
cds->userImplicitLinearTerm = RANSktau::implicitK;
cds->userImplicitLinearTerm = implicitK;

if(model == "KTAU") o_OiOjSk = platform->device.malloc<dfloat>(nrs->fieldOffset);
o_SijMag2 = platform->device.malloc<dfloat>(nrs->fieldOffset);
Expand Down Expand Up @@ -460,4 +458,3 @@ void RANSktau::setup(int ifld, std::string &modelIn, occa::memory &o_ywdIn)
RANSktau::setup(ifld);
}

bool RANSktau::setup(){return setupCalled;}
3 changes: 0 additions & 3 deletions src/nrs/plugins/RANSktau.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ void setup(int startFieldIndex, std::string &model);
void setup(int startFieldIndex, std::string &model, occa::memory &o_ywd);
void updateProperties();
const deviceMemory<dfloat> o_mue_t();
occa::memory implicitK(double time, int scalarIdx);
bool setup();
occa::properties RANSInfo();
}

#endif
193 changes: 0 additions & 193 deletions src/nrs/plugins/RANSktauBuo.cpp

This file was deleted.

15 changes: 0 additions & 15 deletions src/nrs/plugins/RANSktauBuo.hpp

This file was deleted.

48 changes: 0 additions & 48 deletions src/nrs/plugins/kernels/RANSktauBuo.okl

This file was deleted.

1 change: 0 additions & 1 deletion src/udf/udf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ void udfBuild(setupAide &options)
// autoload plugins
std::map<std::string, std::string> pluginTable = {
{"nekrs_tavg_hpp_", "tavg::buildKernel"},
{"nekrs_RANSktauBuo_hpp_", "RANSbuo::buildKernel"},
{"nekrs_RANSktau_hpp_", "RANSktau::buildKernel"},
{"nekrs_lowMach_hpp_", "lowMach::buildKernel"},
{"nekrs_velRecycling_hpp_", "velRecycling::buildKernel"},
Expand Down

0 comments on commit 64454c9

Please sign in to comment.