Commit 54c8e5e4 authored by Antoine Jacquey's avatar Antoine Jacquey
Browse files

Fixed issue with idaholab/moose@8bffd64

Rregolded some tests
parent adf69783
......@@ -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)
{
......
......@@ -34,10 +34,11 @@
[BCs]
[./left_phase]
type = PresetBC
type = DirichletBC
variable = phase
value = 0.0
boundary = 'left right'
preset = true
[../]
[]
......@@ -94,7 +95,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-10 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
[]
[GlobalParams]
displacements = 'disp_x disp_y'
[]
[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'
[../]
[]
[GlobalParams]
displacements = 'disp_x disp_y'
[]
[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