Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lalsuite-archive
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oliver Behnke
lalsuite-archive
Commits
a74a640c
Commit
a74a640c
authored
Oct 18, 2017
by
Chris Pankow
Browse files
Options
Downloads
Patches
Plain Diff
LALSimNeutronStarEOSTabular.c: make new EoS available
parent
bebe378e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lalsimulation/src/LALSimNeutronStarEOSTabular.c
+55
-5
55 additions, 5 deletions
lalsimulation/src/LALSimNeutronStarEOSTabular.c
with
55 additions
and
5 deletions
lalsimulation/src/LALSimNeutronStarEOSTabular.c
+
55
−
5
View file @
a74a640c
...
@@ -363,11 +363,51 @@ LALSimNeutronStarEOS *XLALSimNeutronStarEOSFromFile(const char *fname)
...
@@ -363,11 +363,51 @@ LALSimNeutronStarEOS *XLALSimNeutronStarEOSFromFile(const char *fname)
* @brief Creates an equation of state structure from tabulated equation
* @brief Creates an equation of state structure from tabulated equation
* of state data of a known name.
* of state data of a known name.
* @details A known, installed, named tabulated equation of state data file is
* @details A known, installed, named tabulated equation of state data file is
* read and the used to create the equation of state structure. Presently
* read and the used to create the equation of state structure.
* the known equations of state are:
* The equations of state available are the representative sample drawn from
* http://xtreme.as.arizona.edu/NeutronStars/ they are:
* - ALF1
* - ALF2
* - ALF3
* - ALF4
* - AP1
* - AP2
* - AP3
* - AP4
* - AP4
* - BBB2
* - BGN1H1
* - BPAL12
* - BSK19
* - BSK20
* - BSK21
* - ENG
* - FPS
* - FPS
* - GNH3
* - GS1
* - GS2
* - H1
* - H2
* - H3
* - H4
* - H5
* - H6
* - H7
* - MPA1
* - MS1B
* - MS1
* - MS2
* - PAL6
* - PCL2
* - PS
* - QMC700
* - SLY4
* - SLY4
* - SLY
* - SQM1
* - SQM2
* - SQM3
* - WFF1
* - WFF2
* - WFF3
* @param[in] name The name of the equation of state.
* @param[in] name The name of the equation of state.
* @return A pointer to neutron star equation of state structure.
* @return A pointer to neutron star equation of state structure.
*/
*/
...
@@ -376,9 +416,19 @@ LALSimNeutronStarEOS *XLALSimNeutronStarEOSByName(const char *name)
...
@@ -376,9 +416,19 @@ LALSimNeutronStarEOS *XLALSimNeutronStarEOSByName(const char *name)
static
const
char
fname_base
[]
=
"LALSimNeutronStarEOS_"
;
static
const
char
fname_base
[]
=
"LALSimNeutronStarEOS_"
;
static
const
char
fname_extn
[]
=
".dat"
;
static
const
char
fname_extn
[]
=
".dat"
;
static
const
char
*
eos_names
[]
=
{
static
const
char
*
eos_names
[]
=
{
"FPS"
,
"ALF1"
,
"ALF2"
,
"ALF3"
,
"ALF4"
,
"SLY4"
,
"AP1"
,
"AP2"
,
"AP3"
,
"AP4"
,
"AP4"
"BBB2"
,
"BGN1H1"
,
"BPAL12"
,
"BSK19"
,
"BSK20"
,
"BSK21"
,
"ENG"
,
"FPS"
,
"GNH3"
,
"GS1"
,
"GS2"
,
"H1"
,
"H2"
,
"H3"
,
"H4"
,
"H5"
,
"H6"
,
"H7"
,
"MPA1"
,
"MS1B"
,
"MS1"
,
"MS2"
,
"PAL6"
,
"PCL2"
,
"PS"
,
"QMC700"
,
"SLY4"
,
"SLY"
,
"SQM1"
,
"SQM2"
,
"SQM3"
,
"WFF1"
,
"WFF2"
,
"WFF3"
};
};
size_t
n
=
XLAL_NUM_ELEM
(
eos_names
);
size_t
n
=
XLAL_NUM_ELEM
(
eos_names
);
size_t
i
;
size_t
i
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment