Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
The DUNE module dune-spgrid provides a structured, parallel grid: SPGrid
.
The following table compares the features of SPGrid to those of SGrid and YaspGrid:
YaspGrid | SPGrid | |
---|---|---|
Can communicate on codimensions | all | all |
Coordinate type is template parameter | yes | yes |
Supports anisotropic refinement | no | yes |
Supports periodic boundary conditions | no1 | yes |
Supports non-blocking communication | no | yes |
Supports tensor-product grids | yes | no |
SPGrid
supports different (global) refinement techniques, selected by a
template parameter. Some refinement techniques allow an optional parameter,
the refinement policy, to be passed to globalRefine.
Currently, isotropic, anisotropic and bisection refinement are supported, but
this list can be extended by downstream modules.
By default, isotropic refinement is used.
If no policy is given, both, isotropic and anisotropic refinement, split each cube into $2^dim$ child cubes. For anisotropic refinement, a policy may be used to say which directions to split.
Bisection refinement always splits a cube into $2$ child cubes; the split direction can be given by the policy. If no policy is given, the split directions are cycled through.
Note: SPGrid
does not support tensor-product grids, as YaspGrid
does.
This feature can be added by a metagrid layer, if desired.
SPGrid
can be used through the preprocessor magic. The following table shows how
to select different variants of SPGrid:
GRIDTYPE | Refinement |
---|---|
SPGRID | Default (Isotropic) |
SPGRID_SERIAL | Default (Isotropic, no MPI) |
SPGRID_ISOTROPIC | Isotropic |
SPGRID_ISOTROPIC_SERIAL | Isotropic (no MPI) |
SPGRID_ANISOTROPIC | Anisotropic |
SPGRID_ANISOTROPIC_SERIAL | Anisotropic (no MPI) |
SPGRID_BISECTION | Bisection |
SPGRID_BISECTION_SERIAL | Bisection (no MPI) |
SPGRID_COUNT_FLOPS | use Dune::Fem::Double as ctype |
git-8f7e156e8bb68543e195e44a012bc8453e18ddac
YaspGrid
supports a different concept of periodicity. ↩
FAQs
module providing a structured grid
We found that dune-spgrid demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.