Commit db05a3f4 authored by amccaskey's avatar amccaskey
Browse files

Fixing kernel generation to work with new moose constructors.


Signed-off-by: default avataramccaskey <mccaskeyaj@ornl.gov>
parent b5aa58ad
......@@ -116,7 +116,7 @@ public class NewKernelHandler extends AbstractHandler {
includeFileBuffer
.append("\t"
+ kernelName
+ "(const std::string & name, InputParameters parameters);\n\n");
+ "(const InputParameters& parameters);\n\n");
includeFileBuffer.append("\tvirtual Real computeQpResidual();\n\n");
includeFileBuffer.append("};\n\n");
includeFileBuffer.append("#endif\n");
......@@ -134,7 +134,7 @@ public class NewKernelHandler extends AbstractHandler {
.append(kernelName
+ "::"
+ kernelName
+ "(const std::string & name, InputParameters parameters) : Kernel(name, parameters) {\n");
+ "(const InputParameters& parameters) : Kernel(parameters) {\n");
sourceFileBuffer.append("}\n\n");
sourceFileBuffer.append("Real " + kernelName
+ "::computeQpResidual() {\n");
......
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