import type { FunctionalComponent } from 'preact'; import { h, Fragment } from 'preact'; import { useState, useEffect } from 'preact/hooks'; const MenuToggle: FunctionalComponent = () => { const [sidebarShown, setSidebarShown] = useState(false); useEffect(() => { const body = document.getElementsByTagName('body')[0]; if (sidebarShown) { body.classList.add('mobile-sidebar-toggle'); } else { body.classList.remove('mobile-sidebar-toggle'); } }, [sidebarShown]); return ( ); }; export default MenuToggle; sitory; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2020-05-15Minor updates to Schwinger tests (#1003)Gravatar NeilZaim 3-18/+31
2020-05-15Crash if deprecated input parameters are used. (#981)Gravatar MaxThevenet 5-0/+58
2020-05-15Summit: ADIOS2 Usage (#1026)Gravatar Axel Huebl 1-1/+2
2020-05-14Implemented new particle diagnostics in picmi (#984)Gravatar David Grote 12-50/+121
2020-05-14[mini] Update libensemble scripts (#1010)Gravatar MaxThevenet 1-2/+2
2020-05-14Docs: Dimensionality (#1020)Gravatar Axel Huebl 3-0/+56
2020-05-13use new diags syntax for libe input file (#1014)Gravatar MaxThevenet 2-11/+10
2020-05-13Allow to pass component in stencil templates (#1012)Gravatar Remi Lehe 3-70/+70
2020-05-13Fix error with Schwinger when multiple tiles are used (#1013)Gravatar NeilZaim 2-10/+1
2020-05-12Remove unneeded ExchangeF (#996)Gravatar Remi Lehe 1-2/+0
2020-05-12Implement intervals parser for override_sync (#1008)Gravatar NeilZaim 4-11/+13
2020-05-11macOS CI: brew update (#1002)Gravatar Axel Huebl 1-0/+1
2020-05-11Implement intervals parser for new diagnostics (#1000)Gravatar NeilZaim 3-9/+12
2020-05-11Add Schwinger process (#784)Gravatar NeilZaim 12-8/+831
2020-05-11Device field gather (#998)Gravatar Andrew Myers 1-308/+360
2020-05-11Generalize coarsening for MR (#945)Gravatar Edoardo Zoni 19-498/+524
2020-05-08Parser: .c -> .cpp (#999)Gravatar Axel Huebl 6-3/+2
2020-05-08Fix bug for PSATD momentum-conserving runs (#965)Gravatar Remi Lehe 3-3/+41
2020-05-08remove unused variables from WarpX::EvolveE (#995)Gravatar Andrew Myers 1-19/+1
2020-05-08remove executable permission from this source file (#994)Gravatar Andrew Myers 1-0/+0
2020-05-07Diags: Missing/Broken Includes (#993)Gravatar Axel Huebl 2-2/+2
2020-05-06Update parameters.rst (#990)Gravatar lge0303 1-0/+18
2020-05-06Docs: Summit openPMD (#989)Gravatar Axel Huebl 4-3/+46
2020-05-06Add line in parameters doc (#985)Gravatar NeilZaim 1-0/+2
2020-05-06Load Particles: external_file MPI Support (#956)Gravatar Axel Huebl 5-95/+186
2020-05-06bump tolerance on two of the gpu tests (#987)Gravatar Andrew Myers 1-2/+2
2020-05-06Option whether to dump rz modes (#986)Gravatar MaxThevenet 3-1/+9
2020-05-05Current correction in Fourier space (#675)Gravatar Edoardo Zoni 11-6/+268
2020-05-05Switch costs to LayoutData (#970)Gravatar Michael E Rowan 10-42/+31