📄 loadtime.hxx
字号:
// ********************************
// *** CLASS LOAD-TIME FUNCTION ***
// ********************************
#ifndef loadtime_hxx
#include "femcmpnn.hxx"
#include "domain.hxx"
class LoadTimeFunction : public FEMComponent
/*
This abstract class is the superclass of the classes that implement
functions y = f(t) , where t is the time. These function are used for
weighing the loads (see TJR Hughes, "The Finite Element Method", p 677).
A load-time function is attribute of the domain. It is usually also at-
tribute of one or more loads.
DESCRIPTION
The parameters which describe the function are defined by the subclasses
of this class.
TASK
Returning the value 'y' at any abscissa 't'.
*/
{
public :
LoadTimeFunction (int i,Domain* d) : FEMComponent(i,d) {}
virtual ~LoadTimeFunction () {}
// computations
virtual double at (double) { return 0. ;}
// definition of a function
LoadTimeFunction* typed () ;
LoadTimeFunction* ofType (char*) ;
char* giveClassName (char* s)
{ return strcpy(s,"LoadTimeFunction") ;}
virtual void instanciateYourself () {}
} ;
#define loadtime_hxx
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -