https://mooseframework.inl.gov
Loading...
Searching...
No Matches
BndsCalcIC.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 "BndsCalcIC.h"
11#include "BndsCalculator.h"
12
14
17{
20 "Initialize the location of grain boundaries in a polycrystalline sample");
22 "v", "var_name_base", "op_num", "Array of coupled variables");
23 return params;
24}
25
27 : InitialCondition(parameters), _op_num(coupledComponents("v")), _vals(coupledValues("v"))
28{
29}
30
31Real
32BndsCalcIC::value(const Point & /*p*/)
33{
35}
registerMooseObject("PhaseFieldApp", BndsCalcIC)
const std::vector< const VariableValue * > _vals
Definition BndsCalcIC.h:25
BndsCalcIC(const InputParameters &parameters)
Definition BndsCalcIC.C:26
static InputParameters validParams()
Definition BndsCalcIC.C:16
virtual Real value(const Point &) override
Definition BndsCalcIC.C:32
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
void addRequiredCoupledVarWithAutoBuild(const std::string &name, const std::string &base_name, const std::string &num_name, const std::string &doc_string)
Real computeBndsVariable(const std::vector< T * > &var, unsigned int qp)