executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
deep_ritz_stochastic_quadrature_samplingGenerate stochastic interior and boundary quadrature samples for Deep Ritz variational PDE training.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when implementing a Deep Ritz or variational neural PDE experiment that needs Monte Carlo estimates of domain and boundary integrals. Do not use it for fixed-grid finite differences or finite elements.
dimension: positive integer spatial dimension.lower, upper: scalar hypercube bounds.interior_count: number of interior samples.boundary_count: number of boundary samples.seed: optional deterministic seed.[lower, upper]^dimension.Run:
python tests/test_sampler.py
The helper targets hypercube domains, matching the paper's high-dimensional Poisson recovery. L-shaped domains require a custom rejection sampler.