Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix VTestParser segfault #114

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Fix VTestParser segfault #114

merged 1 commit into from
Dec 18, 2023

Conversation

hugary1995
Copy link
Collaborator

close #112

@reverendbedford
Copy link
Collaborator

Coverage after merging vtestparser_112 into main

90.19%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
include/neml2/base
   CrossRef.h100%89.29%100%
   Factory.h100%11.11%100%
   NEML2Object.h100%33.33%50%50
   OptionCollection.h100%0%0%40, 49
   OptionSet.h100%43.87%79.49%117, 120, 123, 135, 66, 74, 78, 82
   Registry.h100%96.34%100%
   UniqueVector.h100%17.86%77.78%117, 169, 171–172
include/neml2/drivers
   Driver.h100%0%0%56
include/neml2/misc
   error.h100%37.67%82.35%35–36, 38
   math.h100%100%100%
   parser_utils.h100%53.13%88%37–38, 40
   utils.h100%63.77%76.27%173, 239, 241–246, 267, 302, 304–307
include/neml2/models
   BufferStore.h100%47.06%58.62%106, 108, 110–111, 113–114, 128, 130–132, 157, 161
   ImplicitUpdate.h100%100%100%
   LabeledAxisInterface.h100%0%0%43, 45, 50, 52–53
   LinearInterpolation.h100%14.29%100%
   Model.h100%23.53%52.94%177, 179–182, 190, 194, 196–199, 207, 209, 72, 78, 83
   NonlinearParameter.h100%9.09%100%
   ParameterStore.h100%31.25%80.77%119, 133, 135–137
include/neml2/tensors
   BatchTensorBase.h100%58.82%95.35%262, 264
   BatchTensorValue.h100%14.93%50%40, 67, 69, 71
   FixedDimTensor.h100%18.18%100%
   LabeledAxis.h100%0%0%107, 110, 113, 139, 67, 72–74
   LabeledAxisAccessor.h100%50%50%59
   LabeledTensor.h100%40.38%87.88%112, 47, 93, 97
   Scalar.h100%60%100%
   Transformable.h100%0%0%44
   VecBase.h100%75%100%
src/neml2/base
   CrossRef.cxx100%60.71%100%
   Factory.cxx100%80%68.18%45, 47–51, 62
   HITParser.cxx100%100%100%
   NEML2Object.cxx100%100%100%
   OptionCollection.cxx100%100%100%
   OptionSet.cxx100%80%82.76%112, 114, 124, 126, 35
   Registry.cxx100%100%100%
src/neml2/drivers
   Driver.cxx100%100%87.50%35
   TransientDriver.cxx100%93.33%81.90%115, 149, 151–153, 156–157, 161–165, 167–172, 175–176, 46
src/neml2/drivers/solid_mechanics
   SolidMechanicsDriver.cxx100%100%97.37%43
src/neml2/misc
   error.cxx100%100%100%
   math.cxx100%85.71%61.67%110, 112–113, 116, 118, 122–123, 125, 128, 130, 132–134, 137, 139–142, 146–147, 150, 152–153
   parser_utils.cxx100%100%98.18%73
   utils.cxx100%100%86.67%44, 52
src/neml2/models
   BackwardEulerTimeIntegration.cxx100%100%97.78%40
   ComposedModel.cxx100%100%97.85%116, 295, 308, 37
   Data.cxx100%40%27.27%43, 45, 47–49, 52, 54, 56–59, 61–62, 65, 67–68
   ForceRate.cxx100%100%98%41
   ForwardEulerTimeIntegration.cxx100%100%97.62%41
   IdentityMap.cxx100%100%94.74%41
   ImplicitUpdate.cxx100%100%97.73%38
   Interpolation.cxx100%45.45%96%38
   LabeledAxisInterface.cxx100%100%100%
   LinearInterpolation.cxx100%45.45%100%
   Model.cxx100%100%95.09%164–166, 247, 39, 51, 69, 86
   NonlinearParameter.cxx100%59.09%90.91%36
   ParameterStore.cxx100%18.18%70.59%37, 60, 62–63, 68
   SR2Invariant.cxx100%100%96.23%110, 40
   StateRate.cxx100%66.67%98%41
   SumModel.cxx100%100%95.83%41
src/neml2/models/crystallography
   CrystalGeometry.cxx100%100%98.13%187, 50
   CubicCrystal.cxx100%100%90.91%48
   MillerIndex.cxx100%100%100%
   crystallography.cxx100%100%98.33%107
src/neml2/models/crystallography/user_tensors
   FillMillerIndex.cxx100%100%91.67%40
   SymmetryFromOrbifold.cxx100%100%87.50%41
src/neml2/models/solid_mechanics
   AssociativeIsotropicPlasticHardening.cxx100%100%96.43%39
   AssociativeKinematicPlasticHardening.cxx100%100%96.67%40
   AssociativePlasticFlow.cxx100%100%96.43%39
   ChabochePlasticHardening.cxx100%100%97.62%43
   ElasticStrain.cxx100%100%96.67%43
   Elasticity.cxx100%100%94.12%40
   FlowRule.cxx100%100%88.89%35
   IsotropicHardening.cxx100%100%91.67%36
   IsotropicMandelStress.cxx100%100%100%
   KinematicHardening.cxx100%100%90.91%36
   LinearIsotropicElasticity.cxx100%100%96.15%39
   LinearIsotropicHardening.cxx100%100%92.86%37
   LinearKinematicHardening.cxx100%100%93.75%38
   MandelStress.cxx100%100%90.91%38
   Normality.cxx100%100%97.67%41
   OverStress.cxx100%100%96%40
   PerzynaPlasticFlowRate.cxx100%100%92.31%38, 71
   PlasticFlowRate.cxx100%100%90.91%36
   RateIndependentPlasticFlowConstraint.cxx100%100%97.22%40
   TotalStrain.cxx100%100%96.30%43
   VoceIsotropicHardening.cxx100%100%95.45%38
   YieldFunction.cxx100%100%97.06%40
src/neml2/solvers
   NewtonNonlinearSolver.cxx100%100%92%49, 73
   NonlinearSolver.cxx100%100%91.67%37
   NonlinearSystem.cxx100%100%90.48%36, 46
   Solver.cxx100%100%87.50%35
src/neml2/tensors
   BatchTensor.cxx100%100%100%
   BatchTensorBase.cxx100%31.83%94.26%211, 354, 376, 378, 59, 61, 63
   FixedDimTensor.cxx100%58.44%100%
   LabeledAxis.cxx100%92.86%82.17%104, 107, 109, 129, 188, 195, 205, 209–210, 212, 235, 323, 325–329, 337, 387, 392, 394, 400, 402–404, 406–407, 410, 412–413, 415, 417–422, 424–426, 92
   LabeledAxisAccessor.cxx100%100%100%
   LabeledMatrix.cxx100%60%56%42, 44–49, 77, 79, 82–83
   LabeledTensor.cxx100%55.56%83.10%116, 118, 178, 180, 206, 208, 59–61, 63, 94, 96
   LabeledTensor3D.cxx100%66.67%66.67%33, 35–43
   LabeledVector.cxx100%60%59.09%37, 39–42, 53, 55–56, 65
   Quaternion.cxx100%100%100%
   R2.cxx100%100%100%
   R2Base.cxx100%100%100%
   R3.cxx100%100%100%
   R4.cxx100%100%100%
   Rot.cxx100%87.50%90%36–37, 39
   SR2.cxx100%100%100%
   SSR4.cxx100%81.25%89.47%124, 126, 130, 132, 136, 138
   Scalar.cxx100%100%100%
   Transformable.cxx100%83.33%83.33%57, 59
   Vec.cxx100%100%100%
   VecBase.cxx100%62.50%95.65%95
   WR2.cxx100%100%100%
src/neml2/tensors/user_tensors
   EmptyBatchTensor.cxx100%100%88.89%38
   EmptyFixedDimTensor.cxx100%100%87.50%38
   Fill3DVec.cxx100%100%91.67%37
   FillR2.cxx100%100%85.71%37, 65, 67, 70
   FillSR2.cxx100%100%77.78%37, 55–56, 58
   FullBatchTensor.cxx100%100%90.91%39
   FullFixedDimTensor.cxx100%100%90%39
   IdentityBatchTensor.cxx100%100%90%38
   LinspaceBatchTensor.cxx100%100%93.33%41
   LinspaceFixedDimTensor.cxx100%100%93.33%41
   LogspaceBatchTensor.cxx100%100%94.12%42
   LogspaceFixedDimTensor.cxx100%100%94.12%42
   OnesBatchTensor.cxx100%100%88.89%38
   OnesFixedDimTensor.cxx100%100%87.50%38
   UserBatchTensor.cxx100%100%95%39
   UserFixedDimTensor.cxx100%100%73.68%39, 53, 55, 57, 59
   ZerosBatchTensor.cxx100%100%88.89%38
   ZerosFixedDimTensor.cxx100%100%87.50%38

@reverendbedford reverendbedford merged commit 3f08d39 into main Dec 18, 2023
19 checks passed
@reverendbedford reverendbedford deleted the vtestparser_112 branch December 18, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Verification test parser segfaults on a blank line
2 participants