pymem3dg._core

Description

Python wrapper around the DDG solver C++ library.

Classes

Adsorption

The adsorption parameters

Aggregation

The aggregation parameters

Bending

The bending parameters

Boundary

The boundary conditions

ConjugateGradient

conjugate Gradient propagator

DPD

The DPD parameters

Dirichlet

The Dirichlet energy parameters

Energy

The energy

Entropy

The entropy parameters

Euler

forward euler (gradient descent) integration

External

The external force parameters

Forces

The forces object

Geometry

Geometry class

MeshMutator

Settings for mesh mutator

MeshProcessor

Object to store mesh processing settings

Osmotic

The osmotic pressure parameters

Parameters

The parameters

Point

The Point energy parameters

Protein

The protein distribution parameters

SelfAvoidance

The SelfAvoidance energy parameters

System

The system

Tension

The surface tension parameters

Variation

VelocityVerlet

Velocity Verlet integration

spring

mesh spring forces parameters

Functions

getCylinder(radius, radialSubdivision, ...)

get face and vertex matrix of a non-capped cylinder

getData(plyName, elementName, propertyName)

read richData from .ply file

getDataElementName(plyName)

retrieve all richData element name from .ply file.

getDataPropertyName(plyName, elementName)

retrieve all richData property name from .ply file.

getDiamond(dihedral)

get face and vertex matrix of diamond

getFaceAndVertexMatrix(plyName)

read face matrix and vertex matrix from .ply file

getFaceSurfacePointClosestToEmbeddedCoordinate(...)

find the face surface point closest to a embedded coordinate

getHexagon(radius[, subdivision])

get face and vertex matrix of Hexagon

getIcosphere(radius[, subdivision])

get face and vertex matrix of icosphere

getTetrahedron()

get face and vertex matrix of tetrahedron

getVertexClosestToEmbeddedCoordinate(...[, ...])

find the index of vertex closest to a embedded coordinate

getVertexFurthestFromBoundary(faceMatrix, ...)

find the vertex furthest away from the boundaries

linearSubdivide(face, vertex, nSub)

subdivide the mesh with linear interpolation

loopSubdivide(face, vertex, nSub)

subdivide the mesh in loop scheme

processSoup(meshName)

process soup data in .ply and return face and vertex matrices.

startProfiler(filename)

start profiler

stopProfiler()

stop profiler