Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
fa2b946e
Commit
fa2b946e
authored
8 years ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Fix documentation syntax, enable MATHJAX
parent
c3e24e72
No related branches found
No related tags found
1 merge request
!195
Gamma power speed up
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/Doxyfile.in
+1
-1
1 addition, 1 deletion
doc/Doxyfile.in
src/adiabatic_index.h
+3
-3
3 additions, 3 deletions
src/adiabatic_index.h
with
4 additions
and
4 deletions
doc/Doxyfile.in
+
1
−
1
View file @
fa2b946e
...
...
@@ -1428,7 +1428,7 @@ FORMULA_TRANSPARENT = YES
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
USE_MATHJAX =
NO
USE_MATHJAX =
YES
# When MathJax is enabled you can set the default output format to be used for
# the MathJax output. See the MathJax site (see:
...
...
This diff is collapsed.
Click to expand it.
src/adiabatic_index.h
+
3
−
3
View file @
fa2b946e
...
...
@@ -54,7 +54,7 @@
/**
* @brief Returns the argument to the power given by the adiabatic index
*
* Computes $x^\gamma$.
* Computes
\f
$x^\gamma
\f
$.
*/
__attribute__
((
always_inline
))
INLINE
static
float
pow_gamma
(
float
x
)
{
...
...
@@ -86,7 +86,7 @@ __attribute__((always_inline)) INLINE static float pow_gamma(float x) {
* @brief Returns the argument to the power given by the adiabatic index minus
* one
*
* Computes $x^(\gamma
- 1)
$.
* Computes
\f
$x^
{
(\gamma
-1)}\f
$.
*/
__attribute__
((
always_inline
))
INLINE
static
float
pow_gamma_minus_one
(
float
x
)
{
...
...
@@ -115,7 +115,7 @@ __attribute__((always_inline)) INLINE static float pow_gamma_minus_one(
* @brief Returns one over the argument to the power given by the adiabatic
* index minus one
*
* Computes $x^{-(\gamma
-
1)}$.
* Computes
\f
$x^{-(\gamma
-
1)}
\f
$.
*/
__attribute__
((
always_inline
))
INLINE
static
float
pow_minus_gamma_minus_one
(
float
x
)
{
...
...
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