Commit 9c47380b authored by Antoine Jacquey's avatar Antoine Jacquey
Browse files

Fixed issue with idaholab/moose@8bffd64

parent e3c0cf35
......@@ -30,7 +30,7 @@ public:
virtual void computeResidual() override;
virtual void computeJacobian() override;
virtual void computeOffDiagJacobian(MooseVariableFEBase & jvar) override;
virtual void computeOffDiagJacobian(unsigned int jvar) override;
using Kernel::computeOffDiagJacobian;
protected:
......
......@@ -199,7 +199,7 @@ LynxSolidMomentum::computeQpJacobian()
/******************************************************************************/
void
LynxSolidMomentum::computeOffDiagJacobian(MooseVariableFEBase & jvar)
LynxSolidMomentum::computeOffDiagJacobian(unsigned int jvar)
{
if (_vol_locking_correction)
{
......
......@@ -106,7 +106,7 @@
petsc_options_iname = '-snes_atol -snes_rtol -snes_max_it
-ksp_type -ksp_atol -ksp_max_it
-pc_type -sub_pc_type -sub_pc_factor_shift_type'
petsc_options_value = '1e-16 1e-20 200
petsc_options_value = '1e-15 1e-20 200
fgmres 1e-8 500
asm ilu NONZERO'
[../]
......
[Mesh]
type = GeneratedMesh
dim = 2
xmin = 0
xmax = 10
ymin = 0
ymax = 2
nx = 10
ny = 2
elem_type = QUAD4
[]
[MeshModifiers]
[./mesh_input]
type = GeneratedMeshGenerator
dim = 2
xmin = 0
xmax = 10
ymin = 0
ymax = 2
nx = 10
ny = 2
elem_type = QUAD4
[../]
[./corner]
type = AddExtraNodeset
type = ExtraNodesetGenerator
input = mesh_input
new_boundary = 101
coord = '0 0'
[../]
[./side]
type = AddExtraNodeset
type = ExtraNodesetGenerator
input = corner
new_boundary = 102
coord = '10 0'
[../]
[./mid]
type = AddExtraNodeset
type = ExtraNodesetGenerator
input = side
new_boundary = 103
coord = '5 2'
[../]
[]
# [MeshModifiers]
# [./corner]
# type = AddExtraNodeset
# new_boundary = 101
# coord = '0 0'
# [../]
# [./side]
# type = AddExtraNodeset
# new_boundary = 102
# coord = '10 0'
# [../]
# [./mid]
# type = AddExtraNodeset
# new_boundary = 103
# coord = '5 2'
# [../]
# []
[Variables]
[./disp_x]
[../]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment