Skip to content

Commit

Permalink
Make TimeDerivativeNodalKernel inherit from TimeNodalKernel closes #5883
Browse files Browse the repository at this point in the history
 closes #5949
  • Loading branch information
friedmud committed Dec 18, 2015
1 parent 6780de8 commit afcf3b7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions framework/include/nodalkernels/TimeDerivativeNodalKernel.h
Expand Up @@ -15,7 +15,7 @@
#ifndef TIMEDERIVATIVENODALKERNEL_H
#define TIMEDERIVATIVENODALKERNEL_H

#include "NodalKernel.h"
#include "TimeNodalKernel.h"

//Forward Declarations
class TimeDerivativeNodalKernel;
Expand All @@ -26,7 +26,7 @@ InputParameters validParams<TimeDerivativeNodalKernel>();
/**
* Represents du/dt
*/
class TimeDerivativeNodalKernel : public NodalKernel
class TimeDerivativeNodalKernel : public TimeNodalKernel
{
public:
/**
Expand Down
2 changes: 1 addition & 1 deletion framework/src/nodalkernels/TimeDerivativeNodalKernel.C
Expand Up @@ -22,7 +22,7 @@ InputParameters validParams<TimeDerivativeNodalKernel>()
}

TimeDerivativeNodalKernel::TimeDerivativeNodalKernel(const InputParameters & parameters) :
NodalKernel(parameters)
TimeNodalKernel(parameters)
{
}

Expand Down
2 changes: 2 additions & 0 deletions test/tests/nodalkernels/constant_rate/tests
Expand Up @@ -3,6 +3,7 @@
type = 'Exodiff'
input = 'constant_rate.i'
exodiff = 'constant_rate_out.e'
rel_err = 1e-05
[../]

[./threaded]
Expand All @@ -11,5 +12,6 @@
exodiff = 'constant_rate_out.e'
min_threads = '3'
prereq = 'test' # Force ordering since they output the same files
rel_err = 1e-05
[../]
[]
Binary file not shown.
Expand Up @@ -82,11 +82,12 @@
[Executioner]
# Preconditioned JFNK (default)
type = Transient
end_time = 20
end_time = 10
dt = 1
solve_type = PJFNK
petsc_options_iname = '-pc_type -pc_hypre_type'
petsc_options_value = 'hypre boomeramg'
scheme = 'crank-nicolson'
[]

[Outputs]
Expand Down
1 change: 1 addition & 0 deletions test/tests/nodalkernels/high_order_time_integration/tests
Expand Up @@ -4,5 +4,6 @@
input = 'high_order_time_integration.i'
exodiff = 'high_order_time_integration_out.e'
scale_refine = 3
rel_err = 1e-05
[../]
[]

0 comments on commit afcf3b7

Please sign in to comment.