CrdTransf.cppGo 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.4 $ 00022 // $Date: 2006/09/26 18:22:24 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/coordTransformation/CrdTransf.cpp,v $ 00024 00025 00026 // File: ~/crdTransf/CrdTransf.C 00027 // 00028 // Written: Remo Magalhaes de Souza (rmsouza@ce.berkeley.edu) 00029 // Created: 04/2000 00030 // Revision: A 00031 // 00032 // Description: This file contains the implementation for the CrdTransf class. 00033 // CrdTransf provides the abstraction of a frame 00034 // coordinate transformation. It is an abstract base class and 00035 // thus no objects of it's type can be instatiated. 00036 00037 #include <CrdTransf.h> 00038 #include <Vector.h> 00039 00040 00041 // constructor: 00042 CrdTransf::CrdTransf(int tag, int classTag):TaggedObject(tag), MovableObject(classTag) 00043 { 00044 } 00045 00046 // destructor: 00047 CrdTransf::~CrdTransf() 00048 { 00049 } 00050 00051 const Vector & 00052 CrdTransf::getBasicDisplSensitivity(int gradNumber) 00053 { 00054 opserr << "WARNING CrdTransf::getBasicDisplSensitivity() - this method " 00055 << " should not be called." << endln; 00056 00057 static Vector dummy(1); 00058 return dummy; 00059 } 00060 00061 const Vector & 00062 CrdTransf::getGlobalResistingForceShapeSensitivity(const Vector &pb, 00063 const Vector &p0, 00064 int gradNumber) 00065 { 00066 opserr << "ERROR CrdTransf::getGlobalResistingForceSensitivity() - has not been" 00067 << " implemented yet for the chosen transformation." << endln; 00068 00069 static Vector dummy(1); 00070 return dummy; 00071 } 00072 00073 const Vector & 00074 CrdTransf::getBasicTrialDispShapeSensitivity(void) 00075 { 00076 opserr << "ERROR CrdTransf::getBasicTrialDispShapeSensitivity() - has not been" 00077 << " implemented yet for the chosen transformation." << endln; 00078 00079 static Vector dummy(1); 00080 return dummy; 00081 } |