v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ExactFunctionDot Struct Reference

Public Member Functions

double operator() (const double x, const double y, const double t) const
 
double operator() (const double x, const double y, const double t) const
 

Detailed Description

Definition at line 217 of file mixed_reac_diff.cpp.

Member Function Documentation

◆ operator()() [1/2]

double ExactFunctionDot::operator() ( const double  x,
const double  y,
const double  t 
) const
inline

Definition at line 218 of file mixed_reac_diff.cpp.

218 {
219 double gdot = cos(T * x) * cos(T * y);
220 if (t <= ramp_t) {
221 return gdot;
222 } else {
223 return 0;
224 }
225 }
constexpr double t
plate stiffness
Definition: plate.cpp:59
const double ramp_t
const double T

◆ operator()() [2/2]

double ExactFunctionDot::operator() ( const double  x,
const double  y,
const double  t 
) const
inline

Definition at line 215 of file std_reac_diff.cpp.

215 {
216 double gdot = sin(T * x) * sin(T * y);
217 double dot;
218 if (x > -sml) {
219 dot = 1.0 * gdot;
220 } else {
221 dot = gdot;
222 }
223 if (t <= ramp_t) {
224 return dot;
225 } else {
226 return 0;
227 }
228 }
const double sml

The documentation for this struct was generated from the following files: