https://mooseframework.inl.gov
KKSAction.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include "KKSAction.h"
11 #include "Factory.h"
12 #include "Parser.h"
13 #include "FEProblem.h"
14 
17 {
19  params.addParam<std::string>("c_name_base", "c", "base name of the concentration variables");
20  params.addParam<std::string>("eta_name", "eta", "name of the order parameter");
21  params.addRequiredParam<std::vector<std::string>>("phase_names", "short names for the phases");
22  params.addRequiredParam<std::vector<std::string>>("c_names",
23  "short names for the concentrations");
24  return params;
25 }
26 
27 KKSAction::KKSAction(const InputParameters & params) : Action(params)
28 // _z2(getParam<Real>("z2"))
29 {
30 }
31 
32 void
34 {
35  mooseError("Not implemented");
36 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addRequiredParam(const std::string &name, const std::string &doc_string)
static InputParameters validParams()
static InputParameters validParams()
Definition: KKSAction.C:16
virtual void act()
Definition: KKSAction.C:33
KKSAction(const InputParameters &params)
Definition: KKSAction.C:27
void mooseError(Args &&... args) const