fix codacy issues (#40)

This commit is contained in:
Nicola Demo
2022-11-29 16:43:00 +01:00
committed by GitHub
parent e6f935842e
commit b6c88bb756
4 changed files with 10 additions and 13 deletions

View File

@@ -1,16 +1,16 @@
__all__ = [
'PINN',
'ParametricPINN',
'LabelTensor',
'Plotter',
'Condition',
'Span'
'Span',
'Location',
]
from .meta import *
from .label_tensor import LabelTensor
from .pinn import PINN
#from .ppinn import ParametricPINN
from .plotter import Plotter
from .span import Span
from .condition import Condition
from .location import Location

View File

@@ -1,8 +1,8 @@
__all__ = [
'FeedForward',
'MultiFeedForward'
'MultiFeedForward',
'DeepONet',
'Network'
'Network',
]
from .feed_forward import FeedForward

View File

@@ -1,8 +1,9 @@
from .problem import AbstractProblem
""" Module for PINN """
import torch
import matplotlib.pyplot as plt
import numpy as np
from pina.label_tensor import LabelTensor
from .problem import AbstractProblem
from .label_tensor import LabelTensor
torch.pi = torch.acos(torch.zeros(1)).item() * 2 # which is 3.1415927410125732