www.mooseframework.org
BndsCalcAux.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "BndsCalcAux.h"
11 #include "BndsCalculator.h"
12 
13 registerMooseObject("PhaseFieldApp", BndsCalcAux);
14 
17 {
19  params.addClassDescription("Calculate location of grain boundaries in a polycrystalline sample");
21  "v", "var_name_base", "op_num", "Array of coupled variables");
22  return params;
23 }
24 
26  : AuxKernel(parameters), _op_num(coupledComponents("v")), _vals(coupledValues("v"))
27 {
28 }
29 
30 Real
32 {
34 }
const std::vector< const VariableValue * > _vals
Definition: BndsCalcAux.h:30
static InputParameters validParams()
Definition: BndsCalcAux.C:16
BndsCalcAux(const InputParameters &parameters)
Definition: BndsCalcAux.C:25
registerMooseObject("PhaseFieldApp", BndsCalcAux)
Real computeBndsVariable(const std::vector< T *> &var, unsigned int qp)
Visualize the location of grain boundaries in a polycrystalline simulation.
Definition: BndsCalcAux.h:19
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addRequiredCoupledVarWithAutoBuild(const std::string &name, const std::string &base_name, const std::string &num_name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
virtual Real computeValue()
Definition: BndsCalcAux.C:31
static InputParameters validParams()