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; class='sub right'>
aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2020-05-04Fix error (#974)Gravatar NeilZaim 1-1/+1
2020-05-01Self Fields: Mean Gamma (#958)Gravatar Axel Huebl 1-0/+1
2020-05-01Do not rely on nodal flags (#931)Gravatar Edoardo Zoni 10-156/+174
2020-05-01Add parser for more general intervals (slices) (#925)Gravatar NeilZaim 10-13/+360
2020-05-01Delete old diagnostics (#933)Gravatar MaxThevenet 77-1319/+605
2020-05-01Most fun PR ever: print error and tolerance before ASSERT in CI (#967)Gravatar MaxThevenet 18-44/+133
2020-05-01Switch to new overloads of makeKnapSack, makeSFC w/ reduced comms (#955)Gravatar Michael E Rowan 2-72/+50
2020-05-01openPMD: Fix no-MPI build (#968)Gravatar Axel Huebl 2-2/+12
2020-04-30Update Python docs (#960)Gravatar David Grote 3-7/+26
2020-04-30openPMD: Binary Suffix (#966)Gravatar Axel Huebl 1-0/+1
2020-04-30Fix bug when compiling OpenPMD + 2D (#963)Gravatar MaxThevenet 1-4/+4
2020-04-29CI: macOS Single Precision (#964)Gravatar Axel Huebl 4-48/+11
2020-04-29use direct deposition for nodal tests also on Garuda (#962)Gravatar MaxThevenet 1-2/+2
2020-04-29[Mini]Fix Langmuir_multi_nodal test case (#961)Gravatar David Grote 1-2/+2
2020-04-28Style change to match the standard (#957)Gravatar Michael E Rowan 15-52/+52
2020-04-28Add checkpoint capability to new diags (#951)Gravatar MaxThevenet 7-15/+172
2020-04-28Reduce size of test output (#857)Gravatar MaxThevenet 7-104/+50
2020-04-26minor code changes to remove warnings when compiling with gcc DEBUG=TRUE (#950)Gravatar MaxThevenet 7-87/+89
2020-04-24Read species distribution from OPMD - part 3 (#883)Gravatar L. Diana Amorim 5-37/+114
2020-04-24Re-initialize diag functors after LoadBalance (#943)Gravatar Revathi Jambunathan 7-56/+89