https://mooseframework.inl.gov
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 2244 of file Coupleable.C.

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

◆ checkComponent()

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

Definition at line 178 of file Coupleable.C.

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

182 {
183  if (bound > 0 && comp >= bound)
184  obj->paramError(
185  var_name, "component ", comp, " is out of range for this variable (max ", bound - 1, ")");
186 }
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 ...