-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from AsadNizami/master
(#119) Wildcard imports removed
- Loading branch information
Showing
64 changed files
with
674 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,73 @@ | ||
from collections import defaultdict | ||
from elastica.modules import * | ||
from elastica.rod.cosserat_rod import * | ||
from elastica.rod.knot_theory import * | ||
from elastica.rigidbody import * | ||
from elastica.boundary_conditions import * | ||
from elastica.external_forces import * | ||
from elastica.callback_functions import * | ||
from elastica.dissipation import * | ||
from elastica.interaction import * | ||
from elastica.joint import * | ||
from elastica.timestepper import * | ||
from elastica.restart import * | ||
from elastica.reset_functions_for_block_structure import * | ||
from elastica.typing import * | ||
from elastica.rod.knot_theory import KnotTheory, KnotTheoryCompatibleProtocol | ||
from elastica.rod.rod_base import RodBase | ||
from elastica.rod.cosserat_rod import CosseratRod | ||
from elastica.rigidbody.rigid_body import RigidBodyBase | ||
from elastica.rigidbody.cylinder import Cylinder | ||
from elastica.rigidbody.sphere import Sphere | ||
from elastica.boundary_conditions import ( | ||
ConstraintBase, | ||
FreeBC, | ||
OneEndFixedBC, | ||
GeneralConstraint, | ||
FixedConstraint, | ||
HelicalBucklingBC, | ||
FreeRod, | ||
OneEndFixedRod, | ||
) | ||
from elastica.external_forces import ( | ||
NoForces, | ||
EndpointForces, | ||
GravityForces, | ||
UniformForces, | ||
UniformTorques, | ||
MuscleTorques, | ||
EndpointForcesSinusoidal, | ||
) | ||
from elastica.interaction import ( | ||
AnisotropicFrictionalPlane, | ||
InteractionPlane, | ||
SlenderBodyTheory, | ||
) | ||
from elastica.joint import ( | ||
FreeJoint, | ||
ExternalContact, | ||
FixedJoint, | ||
HingeJoint, | ||
SelfContact, | ||
) | ||
from elastica.callback_functions import CallBackBaseClass, ExportCallBack, MyCallBack | ||
from elastica.dissipation import ( | ||
DamperBase, | ||
AnalyticalLinearDamper, | ||
LaplaceDissipationFilter, | ||
) | ||
from elastica.modules.base_system import BaseSystemCollection | ||
from elastica.modules.callbacks import CallBacks | ||
from elastica.modules.connections import Connections | ||
from elastica.modules.constraints import Constraints | ||
from elastica.modules.forcing import Forcing | ||
from elastica.modules.damping import Damping | ||
from elastica.transformations import inv_skew_symmetrize | ||
from elastica.transformations import rotate | ||
from elastica._calculus import ( | ||
position_difference_kernel, | ||
position_average, | ||
quadrature_kernel, | ||
difference_kernel, | ||
quadrature_kernel_for_block_structure, | ||
difference_kernel_for_block_structure, | ||
) | ||
from elastica._linalg import levi_civita_tensor | ||
from elastica.utils import isqrt | ||
from elastica.typing import RodType, SystemType | ||
from elastica.timestepper import ( | ||
integrate, | ||
PositionVerlet, | ||
PEFRL, | ||
RungeKutta4, | ||
EulerForward, | ||
extend_stepper_interface, | ||
) | ||
from elastica.memory_block.memory_block_rigid_body import MemoryBlockRigidBody | ||
from elastica.memory_block.memory_block_rod import MemoryBlockCosseratRod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
elastica/experimental/connection_contact_joint/generic_system_type_connection.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
__all__ = [ | ||
"MemoryBlockCosseratRod", | ||
"MemoryBlockRigidBody", | ||
] | ||
|
||
from elastica.memory_block.memory_block_rod import MemoryBlockCosseratRod | ||
from elastica.memory_block.memory_block_rigid_body import MemoryBlockRigidBody | ||
from .memory_block_rigid_body import MemoryBlockRigidBody | ||
from .memory_block_rod import MemoryBlockCosseratRod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
__all__ = ["RigidBodyBase", "Cylinder", "Sphere"] | ||
from .rigid_body import RigidBodyBase | ||
from .cylinder import Cylinder | ||
from .sphere import Sphere |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
__doc__ = """""" | ||
__all__ = ["Cylinder"] | ||
|
||
import numpy as np | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
__doc__ = """""" | ||
__all__ = ["Sphere"] | ||
|
||
import numpy as np | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
__doc__ = """Rod classes and its data structures """ | ||
|
||
|
||
from elastica.rod.knot_theory import * | ||
from elastica.rod.data_structures import * | ||
from elastica.rod.knot_theory import KnotTheory | ||
from elastica.rod.rod_base import RodBase | ||
from elastica.rod.data_structures import ( | ||
_RodSymplecticStepperMixin, | ||
_State, | ||
_DerivativeState, | ||
_KinematicState, | ||
_DynamicState, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
__doc__ = """ Rod classes and implementation details """ | ||
__all__ = ["CosseratRod"] | ||
|
||
|
||
import numpy as np | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.