00001 #ifndef LOADN_H 00002 #define LOADN_H 00003 00004 #include <stdio.h> 00005 #include "iotools.h" 00006 struct vector; 00007 struct atsel; 00008 00009 00010 00011 /** 00012 The class stores data about nodal load. 00013 00014 Created by JK, 00015 Modified by Tomas Koudelka, 00016 */ 00017 class loadn 00018 { 00019 public: 00020 loadn(); 00021 ~loadn(); 00022 long read(XFILE *in); 00023 long print(FILE *out); 00024 long read_prop(FILE *in, long ndof, long lc); 00025 void assemble (double *rhs); 00026 void changeparam (atsel &atln,vector &val); 00027 00028 /// number of loaded node 00029 long nid; 00030 /// load case number 00031 long nlc; 00032 /// array of load components 00033 double *f; 00034 }; 00035 00036 #endif