Response.cpp

Go to the documentation of this file.
00001 /* ****************************************************************** **
00002 **    OpenSees - Open System for Earthquake Engineering Simulation    **
00003 **          Pacific Earthquake Engineering Research Center            **
00004 **                                                                    **
00005 **                                                                    **
00006 ** (C) Copyright 1999, The Regents of the University of California    **
00007 ** All Rights Reserved.                                               **
00008 **                                                                    **
00009 ** Commercial use of this program without express permission of the   **
00010 ** University of California, Berkeley, is strictly prohibited.  See   **
00011 ** file 'COPYRIGHT'  in main directory for information on usage and   **
00012 ** redistribution,  and for a DISCLAIMER OF ALL WARRANTIES.           **
00013 **                                                                    **
00014 ** Developed by:                                                      **
00015 **   Frank McKenna (fmckenna@ce.berkeley.edu)                         **
00016 **   Gregory L. Fenves (fenves@ce.berkeley.edu)                       **
00017 **   Filip C. Filippou (filippou@ce.berkeley.edu)                     **
00018 **                                                                    **
00019 ** ****************************************************************** */
00020                                                                         
00021 // $Revision: 1.5 $
00022 // $Date: 2003/02/14 23:01:50 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/recorder/response/Response.cpp,v $
00024                                                                         
00025 // Written: MHS 
00026 // Created: Oct 2000
00027 //
00028 // Description: This file contains the Response class implementation
00029 
00030 #include <Response.h>
00031 
00032 Response::Response(void):myInfo()
00033 {
00034 
00035 }
00036 
00037 Response::Response(int val):myInfo(val)
00038 {
00039 
00040 }
00041 
00042 Response::Response(double val):myInfo(val)
00043 {
00044 
00045 }
00046 
00047 Response::Response(const ID &val):myInfo(val)
00048 {
00049 
00050 }
00051 
00052 Response::Response(const Vector &val):myInfo(val)
00053 {
00054 
00055 }
00056 
00057 Response::Response(const Matrix &val):myInfo(val)
00058 {
00059 
00060 }
00061 
00062 Response::Response(const Tensor &val):myInfo(val)
00063 {
00064 
00065 }
00066 
00067 Response::~Response()
00068 {
00069 
00070 }
00071 
00072 void
00073 Response::Print(OPS_Stream &s, int flag)
00074 {
00075         myInfo.Print(s, flag);
00076 }
00077 
00078 void
00079 Response::Print(ofstream &s, int flag)
00080 {
00081         myInfo.Print(s, flag);
00082 }
00083 
00084 Information &
00085 Response::getInformation(void)
00086 {
00087   return myInfo;
00088 }

Generated on Mon Oct 23 15:05:25 2006 for OpenSees by doxygen 1.5.0