Skip to content

Commit 7519d1f

Browse files
committed
fix trailing whitespace
1 parent f65c0fc commit 7519d1f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Source/MagneX.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ void WritePlotfile(MultiFab& Ms,
192192
// torch::jit::script::Module& ml_module,
193193
// torch::jit::script::Module& y_norm_module,
194194
// Array< MultiFab, AMREX_SPACEDIM> & H_demagfield);
195-
195+
196196

197197
at::Tensor PackMfieldToTensorDynamic(
198198
const amrex::Array<amrex::MultiFab, AMREX_SPACEDIM>& Mfield,

Source/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,12 +470,12 @@ void main_main ()
470470
}
471471
} else {
472472
// demag_solver.CalculateH_demag(Mfield_old, H_demagfield);
473-
amrex::Gpu::streamSynchronize();
473+
amrex::Gpu::streamSynchronize();
474474
double start_time = amrex::second();
475475

476476
demag_solver.CalculateH_demag(Mfield_old, H_demagfield);
477477

478-
amrex::Gpu::streamSynchronize();
478+
amrex::Gpu::streamSynchronize();
479479
double end_time = amrex::second();
480480

481481
amrex::Print() << "Demag Solver Time: " << (end_time - start_time) * 1000.0 << " ms" << std::endl;
@@ -620,12 +620,12 @@ void main_main ()
620620
}
621621
} else {
622622
// demag_solver.CalculateH_demag(Mfield, H_demagfield);
623-
amrex::Gpu::streamSynchronize();
623+
amrex::Gpu::streamSynchronize();
624624
double start_time = amrex::second();
625625

626626
demag_solver.CalculateH_demag(Mfield, H_demagfield);
627627

628-
amrex::Gpu::streamSynchronize();
628+
amrex::Gpu::streamSynchronize();
629629
double end_time = amrex::second();
630630

631631
amrex::Print() << "Demag Solver Time: " << (end_time - start_time) * 1000.0 << " ms" << std::endl;

0 commit comments

Comments
 (0)