Skip to content
Snippets Groups Projects
Commit 9d399c61 authored by Hkorb's avatar Hkorb
Browse files

Merge branch 'actuator_line' of...

Merge branch 'actuator_line' of https://git.rz.tu-bs.de/irmb/uppsala/VirtualFluids_dev into actuator_line
parents fd8ad94e 3dd74986
No related branches found
No related tags found
1 merge request!81fixed AL
This commit is part of merge request !81. Comments created here will be created in the context of that merge request.
......@@ -223,9 +223,7 @@ void Probe::addProbeStruct(CudaMemoryManager* cudaManager, std::vector<int> prob
probeParams[level]->quantitiesH[var] = true;
probeParams[level]->arrayOffsetsH[var] = arrOffset;
arrOffset += getPostProcessingVariableNames(static_cast<PostProcessingVariable>(var)).size();
arrOffset += uint(getPostProcessingVariableNames(static_cast<PostProcessingVariable>(var)).size());
}}
cudaManager->cudaCopyProbeQuantitiesAndOffsetsHtoD(this, level);
......@@ -422,7 +420,7 @@ void Probe::writeGridFiles(Parameter* para, int level, std::vector<std::string>&
{
PostProcessingVariable quantity = static_cast<PostProcessingVariable>(var);
real coeff;
uint n_arrs = getPostProcessingVariableNames(quantity).size();
uint n_arrs = uint(getPostProcessingVariableNames(quantity).size());
switch(quantity)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment