Git Product home page Git Product logo

spectre's People

Contributors

acifajkya avatar alexcarpenter46 avatar carmaza avatar ermost avatar ffoucart avatar fmahebert avatar geoffrey4444 avatar guilara avatar isaaclegred avatar jyoo1042 avatar kidder avatar knelli2 avatar macedo22 avatar mar-celine avatar markscheel avatar marlomo avatar mgiesler avatar moxcodes avatar ncorsobh avatar nikwit avatar nilsdeppe avatar nilsvu avatar osheamonn avatar pajkosmi avatar prayush avatar sizheng-ma avatar sxs-bot avatar tomwlodarczyk avatar wthrowe avatar yoonso0-0 avatar

Stargazers

 avatar

Watchers

 avatar

spectre's Issues

Use the equivalent formula for the Persson TCI not using log

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.