set_softened_core

Module

Description

This module solves for a softened density and pressure profile below a softening radius, rcore, of a stellar profile

References:

Owner:

Mike Lau

Runtime parameters:

None

Dependencies:

eos, io, physcon, setcubiccore, setfixedentropycore, table_utils

Quick access

Routines:

set_softened_core()

Subroutines and functions

subroutine  setsoftenedcore/set_softened_core(isoftcore, isofteningopt, rcore, mcore, r, den, pres, m, x, y, ierr)
Parameters:
  • isoftcore [integer,in]

  • isofteningopt [integer,in]

  • rcore [real,inout]

  • mcore [real,inout]

  • r (*) [real,inout]

  • den (*) [real,inout]

  • pres (*) [real,inout]

  • m (*) [real,inout]

  • x (*) [real,inout]

  • y (*) [real,inout]

  • ierr [integer]

Use :

eos (ieos(), x_in(), z_in(), init_eos(), get_mean_molecular_weight()), io (fatal()), table_utils (interpolator(), yinterp(), flip_array()), setcubiccore (set_cubic_core(), find_mcore_given_rcore(), find_rcore_given_mcore(), check_rcore_and_mcore()), setfixedentropycore (set_fixeds_softened_core()), physcon (solarr(), solarm())

Call to:

interpolator(), flip_array()