ConjugateGradient

class pymem3dg._core.ConjugateGradient

conjugate Gradient propagator

Methods

ConjugateGradient.__init__(self, system, ...)

Conjugate Gradient optimizer constructor

ConjugateGradient.integrate(self)

integrate

ConjugateGradient.march(self)

stepping forward

ConjugateGradient.saveData(self, ...)

save data to output directory

ConjugateGradient.status(self)

status computation and thresholding

ConjugateGradient.step(self, n)

step for n iterations

Attributes

ConjugateGradient.c1

Wolfe condition parameter

ConjugateGradient.characteristicTimeStep

characteristic time step

ConjugateGradient.constraintTolerance

tolerance for constraints

ConjugateGradient.ifAdaptiveStep

option to scale time step according to mesh size

ConjugateGradient.ifJustGeometryPly

save .ply with just geometry

ConjugateGradient.ifOutputMeshFile

if output mesh file

ConjugateGradient.ifOutputTrajFile

if output trajectory file

ConjugateGradient.ifPrintToConsole

if print to console

ConjugateGradient.isAugementedLagrangian

whether use augmented lagrangian method

ConjugateGradient.isBacktrack

whether do backtracking line search

ConjugateGradient.outputDirectory

collapse small triangles

ConjugateGradient.restartPeriod

option to restart conjugate gradient using gradient descent

ConjugateGradient.rho

backtracking coefficient

ConjugateGradient.savePeriod

period of saving output data

ConjugateGradient.tolerance

tolerance for termination

ConjugateGradient.totalTime

time limit

ConjugateGradient.trajFileName

name of the trajectory file