www.mooseframework.org
KKSAction.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #include "KKSAction.h"
8 #include "Factory.h"
9 #include "Parser.h"
10 #include "FEProblem.h"
11 
12 template <>
13 InputParameters
15 {
16  InputParameters params = validParams<Action>();
17  params.addParam<std::string>("c_name_base", "c", "base name of the concentration variables");
18  params.addParam<std::string>("eta_name", "eta", "name of the order parameter");
19  params.addRequiredParam<std::vector<std::string>>("phase_names", "short names for the phases");
20  params.addRequiredParam<std::vector<std::string>>("c_names",
21  "short names for the concentrations");
22  return params;
23 }
24 
25 KKSAction::KKSAction(const InputParameters & params) : Action(params)
26 // _z2(getParam<Real>("z2"))
27 {
28 }
29 
30 void
32 {
33  /*
34  InputParameters poly_params = _factory.getValidParams("BoundingBoxIC");
35  poly_params.set<VariableName>("variable") = var_name;
36  poly_params.set<Real>("x1") = _x1;
37  poly_params.set<Real>("y1") = _y1;
38  poly_params.set<Real>("z1") = _z1;
39  poly_params.set<Real>("x2") = _x2;
40  poly_params.set<Real>("y2") = _y2;
41  poly_params.set<Real>("z2") = _z2;
42 
43  // Add initial condition
44  _problem->addInitialCondition("BoundingBoxIC", "InitialCondition", poly_params);
45  */
46 }
virtual void act()
Definition: KKSAction.C:31
KKSAction(const InputParameters &params)
Definition: KKSAction.C:25
InputParameters validParams< KKSAction >()
Definition: KKSAction.C:14