Skip to content

Commit

Permalink
changing documentation configuration and documentation in files
Browse files Browse the repository at this point in the history
  • Loading branch information
illarl committed Sep 20, 2021
1 parent 6474859 commit f582bb0
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
13 changes: 11 additions & 2 deletions doc/readthedocs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@


# -- Options for LaTeX output ------------------------------------------------
latex_engine = "xelatex"

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
Expand All @@ -175,7 +176,14 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, "PCDOC.tex", "PC Documentation", "Illa R. Losada", "manual")
(master_doc, "PCDOC.tex", "PC Documentation", "Illa R. Losada", "manual"),
(
"manuals/quick-guide",
"quickGuide.tex",
"Quick start guide",
"I. R. Losada, M. Lambrechts, E. Cole, P. Bourdin",
"manual",
),
]


Expand Down Expand Up @@ -232,8 +240,9 @@
## Fortran configuration
fortran_src = [
"../../src/ascalar.f90",
"../../src/geometrical_types.f90",
# "../../src/bfield.f90",
# "../../src/magnetic.f90",
# "../../src/magnetic.f90"
]
fortran_ext = ["f90"]

14 changes: 13 additions & 1 deletion doc/readthedocs/toc/modfortran.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,16 @@
Fortran module
**************

Soon!
Testing...


Module ascalar
--------------

.. f:automodule:: ascalar
Module Geometrical Types
-------------------------

.. f:automodule:: geometrical_types
2 changes: 1 addition & 1 deletion doc/readthedocs/toc/modpython.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Pencil python code documentation
:mod:`pencil`: Pencil package
-----------------------------

.. autosummary::
.. .. autosummary::
:toctree: ../code/sourcePython
:template: custom-module-template.rst
:recursive:
Expand Down
8 changes: 4 additions & 4 deletions src/ascalar.f90
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
! $Id$
!
module Ascalar
! This module is used to solve the equation of supersaturation
! for either the Smoluchowski approach or the swarm model.
!
Expand All @@ -22,8 +21,7 @@
! PENCILS PROVIDED del2ttc
!
!***************************************************************
module Ascalar
!

use Cdata
use Cparam
use Messages
Expand Down Expand Up @@ -115,7 +113,9 @@ subroutine register_ascalar()
"$Id$")
!
endsubroutine register_ascalar

!***********************************************************************

subroutine initialize_ascalar(f)
!
! Perform any necessary post-parameter read initialization
Expand Down
4 changes: 2 additions & 2 deletions src/geometrical_types.f90
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Geometrical_types

real, dimension(3) :: center0
real :: th0,ph0,r_in0,height0
contains
!contains
! procedure, pass :: precess => my_precess
!procedure :: torus_rect_unfmt_write
!procedure :: torus_rect_unfmt_read
Expand All @@ -36,7 +36,7 @@ module Geometrical_types

contains
!
!***********************************************************************
!**********************************************************************
subroutine torus_init(torus)

type(torus_rect) :: torus
Expand Down

0 comments on commit f582bb0

Please sign in to comment.