Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Issues
  • #527

Closed
Open
Created Jan 03, 2019 by Matthieu Schaller@matthieuOwner

Guess for log(u) in the cooling Newton-Raphson scheme

I am looking at the EAGLE cooling code and at the top of cooling.c I can read:

static const double newton_log_u_guess_cgs = 1.414213562e6; /* log10(2e12) */

That does not seem right.

Either the comment is incorrect and should be sqrt(2e12) or the comment is right but the value isn't. If it is the latter, could that explain why we have issues with the Newton scheme in some situations?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking