https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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 2281 of file Coupleable.C.

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

◆ checkComponent()

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

Definition at line 203 of file Coupleable.C.

207{
208 if (bound > 0 && comp >= bound)
209 obj->paramError(
210 var_name, "component ", comp, " is out of range for this variable (max ", bound - 1, ")");
211}
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 ...
Definition MooseBase.h:457

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