📄 load.hxx
字号:
// ******************
// *** CLASS LOAD ***
// ******************
#ifndef load_hxx
#include "femcmpnn.hxx"
#include "domain.hxx"
#include "flotarry.hxx"
#include "dictionr.hxx"
class Load : public FEMComponent
/*
This abstract class is the superclass of the classes that implement loads
(body load, nodal load, boundary conditions, etc). A load is an attribute
of the domain. It is usually also attribute of several elements, nodes or
dofs.
DESCRIPTION
The load stores its values in 'componentArray'. The components of a load
at a given time step is the product of 'componentArray' by the value of
the function 'loadTimeFunction' at that time step.
TASK
Returning its components and its load-time function ;
*/
{
protected :
FloatArray* componentArray ;
int loadTimeFunction ;
public :
Load (int,Domain*) ; // constructor
virtual ~Load () { delete componentArray ;} // destructor
// computations
LoadTimeFunction* giveLoadTimeFunction () ;
FloatArray* giveComponentArray () ;
// definition of a load
Load* typed () ;
Load* ofType (char*) ;
char* giveClassName (char* s) {return strcpy(s,"Load");}
virtual void instanciateYourself () ;
} ;
#define load_hxx
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -