optimism.phasefield.test package

Submodules

optimism.phasefield.test.plotPhaseFieldThresholdModel module

class optimism.phasefield.test.plotPhaseFieldThresholdModel.PhaseFieldThresholdUniaxialFixture(methodName='runTest')[source]

Bases: TestCase

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Hook method for setting up the test fixture before exercising it.

testUniaxial()[source]

optimism.phasefield.test.plotSandiaModelUniaxial module

optimism.phasefield.test.test_PhaseFieldLorentzPlastic module

class optimism.phasefield.test.test_PhaseFieldLorentzPlastic.GradOfPlasticPhaseFieldModelFixture(methodName='runTest')[source]

Bases: TestFixture

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_elastic_energy()[source]
test_plastic_stress()[source]
test_rotation_invariance()[source]
test_zero_point()[source]

optimism.phasefield.test.test_PhaseFieldLorentzPlasticPatch module

class optimism.phasefield.test.test_PhaseFieldLorentzPlasticPatch.TestSingleMeshFixture(methodName='runTest')[source]

Bases: MeshFixture

_classSetupFailed = False
_class_cleanups = []
no_test_uniaxial()[source]

Restore this test to see the uniaxial stress response

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_constrained_hessian()[source]
test_patch_test()[source]
test_sparse_hessian_at_nonzero_phase()[source]
test_sparse_hessian_at_zero_phase()[source]

optimism.phasefield.test.test_PhaseFieldThreshold module

class optimism.phasefield.test.test_PhaseFieldThreshold.PhaseFieldThresholdModelFixture(methodName='runTest')[source]

Bases: TestFixture

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_rotation_invariance()[source]
test_uniaxial_energy()[source]
test_zero_point()[source]

optimism.phasefield.test.test_PhaseFieldThresholdPatch module

class optimism.phasefield.test.test_PhaseFieldThresholdPatch.TestSingleMeshFixture(methodName='runTest')[source]

Bases: MeshFixture

_classSetupFailed = False
_class_cleanups = []
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_constrained_hessian()[source]
test_patch_test()[source]
test_sparse_hessian_at_nonzero_phase()[source]
test_sparse_hessian_at_zero_phase()[source]

optimism.phasefield.test.test_PhaseFieldThresholdPlastic module

class optimism.phasefield.test.test_PhaseFieldThresholdPlastic.GradOfPlasticPhaseFieldModelFixture(methodName='runTest')[source]

Bases: TestFixture

_classSetupFailed = False
_class_cleanups = []
no_test_plastic_strain_path()[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_elastic_energy()[source]
test_plastic_stress()[source]
test_rotation_invariance()[source]
test_zero_point()[source]

optimism.phasefield.test.test_PhaseFieldUniaxial module

class optimism.phasefield.test.test_PhaseFieldUniaxial.PhaseFieldUniaxialFixture(methodName='runTest')[source]

Bases: TestCase

_classSetupFailed = False
_class_cleanups = []
testUniaxial()[source]
optimism.phasefield.test.test_PhaseFieldUniaxial.energy_density(dispGrad, phase, phaseGrad, internalVariables, doUpdate=True)[source]
optimism.phasefield.test.test_PhaseFieldUniaxial.update(dispGrad, phase, phaseGrad, internalVariables)[source]

Module contents