Skip to content

Commit

Permalink
Docs bug (#66)
Browse files Browse the repository at this point in the history
* bug

* pydantic requirement

* found bug
  • Loading branch information
joglekara authored Sep 10, 2024
1 parent c04d4f5 commit b12ebe6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion adept/vlasov1d/datamodel.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pydantic import BaseModel
from typing import Optional, Dict, Union
from typing import Dict


class SpaceProfileModel(BaseModel):
Expand Down
3 changes: 3 additions & 0 deletions docs/source/solvers/datamodels/vlasov1d.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Vlasov1D Configuration Options
==============================

Each of these items is actually a dictionary. These dictionaries, once initialized, need to be compiled into a megadictionary that is passed to the solver. This is basically the contents of the ``yaml`` files that are in the repo.

.. automodule:: adept.vlasov1d.datamodel
:members:

4 changes: 2 additions & 2 deletions docs/source/solvers/vlasov1d1v.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Collisions
3. ``daugherty`` - This solver uses the Daugherty collision operator to include collisions in the simulation.


Configuration Options
Configuration
======================
``ADEPT`` needs a ``yaml`` file with the following datamodel to run the simulation. The datamodel is defined in the following class.

Expand All @@ -64,4 +64,4 @@ Each of the objects used to initialize this datamodel are defined in the followi
.. toctree::
datamodels/vlasov1d
:maxdepth: 1
:caption: Configuration Options:
:caption: Configuration Objects:
3 changes: 2 additions & 1 deletion requirements-cpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ pint
mlflow_export_import
plasmapy
tabulate
interpax
interpax
pydantic
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ pint
mlflow_export_import
plasmapy
tabulate
interpax
interpax
pydantic

0 comments on commit b12ebe6

Please sign in to comment.