nilsdeppe / spectre Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sxs-collaboration/spectre
License: Other
This project forked from sxs-collaboration/spectre
License: Other
Currently we have many double persson_tci_epsilon
which is set to the same value(=1e-18) around many spots in the code, so maybe cleanup these and make it as an option specifiable one?
The TCI-ing criteria of current implementation uses the following lines:
if (l2Norm(*filtered_component) <= zero_cutoff * l2Norm(component)) {
continue;
}
if (std::log10(l2Norm(*filtered_component) / l2Norm(component)) >
-alpha * std::log10(static_cast<double>(dg_mesh.extents(d) - 1))) {
return true;
}
which may be simplified to its equivalent form without using log
:
l2_norm_filtered * N ** alpha > l2_norm_component
where N = dg.mesh.extent(d)-1.
This way may have some computational speed-ups (however, up to the cost of pow
function) as well as that we do not need the zero_cutoff
(persson_epsilon) and the first if
branch using it.
Implement the TCI on the DG grid
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.