Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sumpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
sumpy
Commits
82c68486
Commit
82c68486
authored
5 years ago
by
Isuru Fernando
Browse files
Options
Downloads
Patches
Plain Diff
Document PDE class
parent
5988f298
No related branches found
No related tags found
1 merge request
!68
Specify the PDE symbolically
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sumpy/expansion/__init__.py
+17
-0
17 additions, 0 deletions
sumpy/expansion/__init__.py
with
17 additions
and
0 deletions
sumpy/expansion/__init__.py
+
17
−
0
View file @
82c68486
...
...
@@ -506,7 +506,24 @@ class LinearPDEBasedExpansionTermsWrangler(ExpansionTermsWrangler):
class
PDE
(
object
):
r
"""
Represents a system of PDEs of dimension `dim`. It is represented by a
list of dictionaries with each dictionary representing a single PDE.
Each dictionary maps a :class:`CoeffIdentifier` object to a value,
.. math::
\sum_{(mi, ident), c \text{pde\_dict}}
\frac{\partial^{\sum(mi)}}{\partial u^mi} c = 0,
where :math:`u` is the solution vector of the PDE.
"""
def
__init__
(
self
,
dim
,
eqs
):
"""
:arg dim: dimension of the PDE
:arg eqs: list of dictionaries mapping a :class:`CoeffIdentifier` to a
value.
"""
self
.
dim
=
dim
self
.
eqs
=
eqs
...
...
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