@@ -156,7 +156,7 @@ DiagnosticFields::DiagnosticFields( Params ¶ms, SmileiMPI *smpi, VectorPatch
156
156
if ( time_average > 1 ) {
157
157
for ( unsigned int ifield=0 ; ifield<fields_names.size (); ifield++ )
158
158
vecPatches ( ipatch )->EMfields ->allFields_avg [diag_n].push_back (
159
- vecPatches ( ipatch )->EMfields ->createField ( fields_names[ifield],params )
159
+ vecPatches ( ipatch )->EMfields ->createField ( fields_names[ifield], params )
160
160
);
161
161
}
162
162
}
@@ -208,7 +208,7 @@ DiagnosticFields::~DiagnosticFields()
208
208
delete flush_timeSelection;
209
209
}
210
210
211
- void DiagnosticFields::openFile ( Params ¶ms , SmileiMPI *smpi )
211
+ void DiagnosticFields::openFile ( Params &, SmileiMPI *smpi )
212
212
{
213
213
if ( file_ ) {
214
214
return ;
@@ -242,7 +242,7 @@ void DiagnosticFields::closeFile()
242
242
243
243
244
244
245
- void DiagnosticFields::init ( Params ¶ms, SmileiMPI *smpi, VectorPatch &vecPatches )
245
+ void DiagnosticFields::init ( Params ¶ms, SmileiMPI *smpi, VectorPatch & )
246
246
{
247
247
// create the file
248
248
openFile ( params, smpi );
@@ -260,7 +260,7 @@ bool DiagnosticFields::prepare( int itime )
260
260
}
261
261
262
262
263
- void DiagnosticFields::run ( SmileiMPI *smpi, VectorPatch &vecPatches, int itime, SimWindow *simWindow, Timers &timers )
263
+ void DiagnosticFields::run ( SmileiMPI *smpi, VectorPatch &vecPatches, int itime, SimWindow *simWindow, Timers & )
264
264
{
265
265
// If time-averaging, increment the average
266
266
if ( time_average>1 ) {
@@ -320,7 +320,7 @@ void DiagnosticFields::run( SmileiMPI *smpi, VectorPatch &vecPatches, int itime,
320
320
#pragma omp master
321
321
{
322
322
// Write
323
- H5Write dset = writeField ( iteration_group_, fields_names[ifield], itime );
323
+ H5Write dset = writeField ( iteration_group_, fields_names[ifield] );
324
324
// Attributes for openPMD
325
325
openPMD_->writeFieldAttributes ( dset, subgrid_start_, subgrid_step_ );
326
326
openPMD_->writeRecordAttributes ( dset, field_type[ifield] );
@@ -351,7 +351,7 @@ bool DiagnosticFields::needsRhoJs( int itime )
351
351
}
352
352
353
353
// SUPPOSED TO BE EXECUTED ONLY BY MASTER MPI
354
- uint64_t DiagnosticFields::getDiskFootPrint ( int istart, int istop, Patch *patch )
354
+ uint64_t DiagnosticFields::getDiskFootPrint ( int istart, int istop, Patch * )
355
355
{
356
356
uint64_t footprint = 0 ;
357
357
uint64_t nfields = fields_indexes.size ();
0 commit comments