// -*- C++ -*-
// $RCSfile: createelement.h,v $
// $Revision: 1.3 $
// $Author: langer $
// $Date: 2000/09/06 20:10:51 $


/* This software was produced by NIST, an agency of the U.S. government,
 * and by statute is not subject to copyright in the United States.
 * Recipients of this software assume all responsibilities associated
 * with its operation, modification and maintenance. However, to
 * facilitate maintenance we ask that before distributing modifed
 * versions of this software, you first contact the authors at
 * oof_manager@ctcms.nist.gov. 
 */


#ifndef CREATEELEMENT_H
#define CREATEELEMENT_H

#include <stdio.h>
#include "symmmatrix.h"
#include "vec.h"

template <class ELEMENT>
ELEMENT *create_element(const ELEMENT*);

// rest are obsolete...

// create an element, given the node indices
template <class ELEMENT>
ELEMENT *create_element(const ELEMENT*, const int, const Vec<int>&);

// ... and the stiffness matrix
template <class ELEMENT>
ELEMENT *create_element(const ELEMENT*, const int, const Vec<int>&,
			    const SymmMatrix&);

// ... and the right hand side
template <class ELEMENT>
ELEMENT *create_element(const ELEMENT*, const int, const Vec<int>&,
			    const SymmMatrix&, const MV_Vector_double&);

#include "createelement.C"

#endif


syntax highlighted by Code2HTML, v. 0.9.1