Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
faltaba otro ifdef mas para compilar con cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
salvaugres committed Apr 18, 2024
1 parent 6c4aaf1 commit 99c65e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions src_main_pub/semba_fdtd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ PROGRAM SEMBA_FDTD_launcher
!*************************************************
!
!!!
use mtln_solver_mod, mtln_solver_t => mtln_t
#ifdef CompileWithWires_mtln
use mtln_solver_mod, mtln_solver_t => mtln_t
#endif
!!!
use interpreta_switches_m
IMPLICIT NONE
Expand Down Expand Up @@ -864,8 +866,11 @@ PROGRAM SEMBA_FDTD_launcher
l%opcionestotales,l%sgbcfreq,l%sgbcresol,l%sgbccrank,l%sgbcdepth,l%fatalerror,l%fieldtotl,l%permitscaling, &
l%EpsMuTimeScale_input_parameters, &
l%stochastic,l%mpidir,l%verbose,l%precision,l%hopf,l%ficherohopf,l%niapapostprocess,l%planewavecorr, &
l%dontwritevtk,l%experimentalVideal,l%forceresampled,l%factorradius,l%factordelta,l%noconformalmapvtk, &
mtln_solver)
l%dontwritevtk,l%experimentalVideal,l%forceresampled,l%factorradius,l%factordelta,l%noconformalmapvtk &
,mtln_solver &
#ifdef CompileWithWires_mtln
)
#endif

deallocate (sggMiEx, sggMiEy, sggMiEz,sggMiHx, sggMiHy, sggMiHz,sggMiNo,sggMtag)
else
Expand Down Expand Up @@ -1314,7 +1319,9 @@ subroutine NFDE2sgg
l%groundwires,l%attfactorc,l%mibc,l%sgbc,l%sgbcDispersive,l%MEDIOEXTRA,maxSourceValue,l%skindepthpre,l%createmapvtk,l%input_conformal_flag,l%CLIPREGION,l%boundwireradius,l%maxwireradius,l%updateshared,l%run_with_dmma, &
eps0,mu0,.false.,l%hay_slanted_wires,l%verbose,l%ignoresamplingerrors,tagtype,l%wiresflavor)
!!!!mtln constructor 100424 !!!solo si es json, si no no existe parser!!
if (trim(adjustl(l%extension))=='.json') mtln_solver = mtlnCtor(parser%mtln)
#ifdef CompileWithWires_mtln
if (trim(adjustl(l%extension))=='.json') mtln_solver = mtlnCtor(parser%mtln)
#endif
!!!!
WRITE (dubuf,*) '[OK] ENDED NFDE --------> GEOM'
CALL print11 (l%layoutnumber, dubuf)
Expand Down
2 changes: 1 addition & 1 deletion src_main_pub/timestepping.F90
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ subroutine launch_simulation(sgg,sggMtag,sggMiNo,sggMiEx,sggMiEy,sggMiEz,sggMiHx

#ifdef CompileWithWires_mtln
type (mtln_solver_t) :: mtln_solver
#ifdef CompileWithWires_mtln
#endif
!!!
logical :: noconformalmapvtk
logical :: hopf,experimentalVideal,forceresampled
Expand Down

0 comments on commit 99c65e1

Please sign in to comment.