Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9f85491
add `pinnx` submodule
chaoming0625 Jan 15, 2025
598518b
update
chaoming0625 Jan 15, 2025
5f9e757
make changes
chaoming0625 Jan 20, 2025
b25c5d1
change the geometry hierarchy
chaoming0625 Jan 21, 2025
a5a16b4
fix bugs, check most models can successfully run
chaoming0625 Jan 21, 2025
a4eec8c
Change to LGPL-2.1 license
Routhleck Jan 23, 2025
56303eb
Updated copyright information to DeepXDE Limited
Routhleck Jan 23, 2025
1985723
Update installation.rst
Routhleck Jan 23, 2025
ce55b50
Remove license info in source code
Routhleck Jan 27, 2025
b31a795
Add optional dependencies for pinnx
chaoming0625 Feb 24, 2025
fdeaf33
reuse functional spaces in `deepxde.data`
chaoming0625 Feb 24, 2025
79447ff
update dependency
chaoming0625 Feb 24, 2025
0594016
remove `pinnx/utils/sampler`, `pinnx/utils/sampling`, and `pinnx/util…
chaoming0625 Feb 24, 2025
6998785
reuse `deepxde.callbacks`
chaoming0625 Feb 24, 2025
546a222
reuse `deepxde.model.LossHistory`
chaoming0625 Feb 24, 2025
f78c63d
reuse most functions in `deepxde.utils.internal`
chaoming0625 Feb 24, 2025
4bd6c95
reuse models in `deepxde.nn.deeponet_strategy`
chaoming0625 Feb 24, 2025
bf8c84c
add detailed docstring for most apis
chaoming0625 Feb 24, 2025
f1220ea
fix bugs, most models can run successfully
chaoming0625 Feb 24, 2025
a585887
fix
chaoming0625 Feb 24, 2025
fe92439
fix
chaoming0625 Feb 24, 2025
26beb21
fix code
chaoming0625 Feb 26, 2025
4c06efc
import `deeponet_strategy` in `deepxde.nn` module
chaoming0625 Mar 3, 2025
65a45e9
import `deeponet_strategy` in `__init__.py`
chaoming0625 Mar 4, 2025
f4790dd
update README to include installation instructions for pinnx module
chaoming0625 Mar 4, 2025
512f008
remove unnecessary blank line in pyproject.toml
chaoming0625 Mar 4, 2025
35e38bb
refactor: rename pinnx module to deepxde.experimental and update imports
chaoming0625 Mar 13, 2025
a78ce45
refactor: rename pinnx examples and documentation files to improve or…
chaoming0625 Mar 13, 2025
db64006
refactor: remove redundant comments from multiple files
chaoming0625 Mar 18, 2025
64658d9
refactor: remove unnecessary blank lines and improve code formatting …
chaoming0625 Mar 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deepxde/geometry/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

class Geometry(abc.ABC):
def __init__(self, dim, bbox, diam):
super().__init__(dim)
self.dim = dim
self.bbox = bbox
self.diam = min(diam, np.linalg.norm(bbox[1] - bbox[0]))
Expand Down
39 changes: 39 additions & 0 deletions deepxde/pinnx/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 2024 BDP Ecosystem Limited. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================


__all__ = [
"callbacks",
"fnspace",
"geometry",
"grad",
"icbc",
"metrics",
"nn",
"problem",
"utils",
"Trainer",
]

from . import callbacks
from . import fnspace
from . import geometry
from . import grad
from . import icbc
from . import metrics
from . import nn
from . import problem
from . import utils
from ._trainer import Trainer
Loading