www.mooseframework.org
Functions
Coupleable.C File Reference

Go to the source code of this file.

Functions

void checkComponent (const MooseObject *obj, unsigned int comp, unsigned int bound, const std::string &var_name)
 
const ADVectorVariableSecondadCoupledVectorSecond (const std::string &, unsigned int)
 

Function Documentation

◆ adCoupledVectorSecond()

const ADVectorVariableSecond& adCoupledVectorSecond ( const std::string &  ,
unsigned  int 
)

Definition at line 2195 of file Coupleable.C.

2196 {
2197  mooseError("Automatic differentiation using second derivatives of vector variables is not "
2198  "implemented.");
2199 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application...
Definition: MooseError.h:299

◆ checkComponent()

void checkComponent ( const MooseObject obj,
unsigned int  comp,
unsigned int  bound,
const std::string &  var_name 
)

Definition at line 177 of file Coupleable.C.

Referenced by Coupleable::checkVar(), Coupleable::coupled(), and Coupleable::getDefaultValue().

181 {
182  if (bound > 0 && comp >= bound)
183  obj->paramError(
184  var_name, "component ", comp, " is out of range for this variable (max ", bound - 1, ")");
185 }
void paramError(const std::string &param, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...