pyHarm.Correctors.CorrectorPseudoArcLength

Classes

Corrector_pseudo_arc_length

Corrector corresponding to the pseudo_arc_length method where the equations are solved imposing that the solution is ortogonal to the prediction direction.

Module Contents

class pyHarm.Correctors.CorrectorPseudoArcLength.Corrector_pseudo_arc_length(**kwargs)

Bases: pyHarm.Correctors.ABCCorrector.ABCCorrector

Corrector corresponding to the pseudo_arc_length method where the equations are solved imposing that the solution is ortogonal to the prediction direction.

factory_keyword: str = 'pseudo_arc_length'

name of the class to call in the factory in order to create a instance of the class.

Type:

str

ClosureEquation(solx: numpy.ndarray, sol: pyHarm.Solver.SystemSolution, sollist: list[pyHarm.Solver.SystemSolution], **kwargs) numpy.ndarray

Compute the residual contribution of the correction equation.

Parameters:
  • solx (np.ndarray) – actual displacement vector.

  • sol (SystemSolution) – actual SystemSolution that contains the starting point.

  • sollist (list[SystemSolution]) – list of SystemSolutions from previous analysis steps.

Returns:

Residual of the correction equation.

Return type:

np.ndarray

ClosureJacobian(solx: numpy.ndarray, sol: pyHarm.Solver.SystemSolution, sollist: list[pyHarm.Solver.SystemSolution], **kwargs) tuple[numpy.ndarray, numpy.ndarray]

Compute the jacobian contribution of the correction equation.

Parameters:
  • solx (np.ndarray) – actual displacement vector.

  • sol (SystemSolution) – actual SystemSolution that contains the starting point.

  • sollist (list[SystemSolution]) – list of SystemSolutions from previous analysis steps.

Returns:

Jacobians of the correction equation.

Return type:

tuple[np.ndarray,np.ndarray]