SyFi  0.3
SyFi::StandardFE Class Reference

#include <FE.h>

Inheritance diagram for SyFi::StandardFE:
SyFi::FE SyFi::ArnoldFalkWintherWeakSymP SyFi::ArnoldFalkWintherWeakSymSigma SyFi::ArnoldFalkWintherWeakSymU SyFi::BrezziDouglasMarini SyFi::Bubble SyFi::CrouzeixRaviart SyFi::Hermite SyFi::Lagrange SyFi::Nedelec SyFi::Nedelec2Hdiv SyFi::P0 SyFi::RaviartThomas SyFi::Robust SyFi::SpaceTimeElement SyFi::TensorLagrange SyFi::TensorP0 SyFi::VectorCrouzeixRaviart SyFi::VectorLagrange SyFi::VectorP0

List of all members.

Public Member Functions

 StandardFE ()
 StandardFE (Polygon &p, unsigned int order)
virtual ~StandardFE ()
virtual void set_order (unsigned int order)
virtual unsigned int get_order ()
virtual void set_polygon (Polygon &p)
virtual Polygonget_polygon ()
virtual void compute_basis_functions ()
virtual unsigned int nbf () const
virtual GiNaC::ex N (unsigned int i)
virtual GiNaC::ex dof (unsigned int i)
virtual std::string str ()

Protected Attributes

GiNaC::exvector Ns
GiNaC::exvector dofs
Polygonp
unsigned int order
std::string description

Detailed Description

Definition at line 49 of file FE.h.


Constructor & Destructor Documentation

Definition at line 27 of file FE.cpp.

References SyFi::p.

        {
                p = NULL;
                order = -1;
                description = "StandardFE";
        }
SyFi::StandardFE::StandardFE ( Polygon p,
unsigned int  order 
)

Definition at line 34 of file FE.cpp.

References SyFi::p.

        {
                p = NULL;
                set_polygon(p_);
                set_order(order);
                description = "StandardFE";
        }

Definition at line 42 of file FE.cpp.

References SyFi::p.

        {
                if (p)
                {
                        delete p;
                }
        }

Member Function Documentation

unsigned int SyFi::StandardFE::get_order ( ) [virtual]

Definition at line 86 of file FE.cpp.

        {
                return order;
        }

Implements SyFi::FE.

Definition at line 66 of file FE.cpp.

References SyFi::p.

        {
                if(!p)
                {
                        throw std::runtime_error("No polygon has been set!");
                }
                return *p;
        }

Member Data Documentation

std::string SyFi::StandardFE::description [protected]

Definition at line 56 of file FE.h.

Referenced by SyFi::ArnoldFalkWintherWeakSymP::ArnoldFalkWintherWeakSymP(), SyFi::ArnoldFalkWintherWeakSymSigma::ArnoldFalkWintherWeakSymSigma(), SyFi::ArnoldFalkWintherWeakSymU::ArnoldFalkWintherWeakSymU(), SyFi::BrezziDouglasMarini::BrezziDouglasMarini(), SyFi::Bubble::Bubble(), SyFi::Hermite::compute_basis_functions(), SyFi::ArnoldFalkWintherWeakSymSigma::compute_basis_functions(), SyFi::Bubble::compute_basis_functions(), SyFi::Lagrange::compute_basis_functions(), SyFi::CrouzeixRaviart::compute_basis_functions(), SyFi::Nedelec::compute_basis_functions(), SyFi::P0::compute_basis_functions(), SyFi::Nedelec2Hdiv::compute_basis_functions(), SyFi::Robust::compute_basis_functions(), SyFi::RaviartThomas::compute_basis_functions(), SyFi::BrezziDouglasMarini::compute_basis_functions(), SyFi::DiscontinuousLagrange::compute_basis_functions(), SyFi::ArnoldFalkWintherWeakSymU::compute_basis_functions(), SyFi::VectorP0::compute_basis_functions(), SyFi::VectorLagrange::compute_basis_functions(), SyFi::VectorCrouzeixRaviart::compute_basis_functions(), SyFi::VectorDiscontinuousLagrange::compute_basis_functions(), SyFi::ArnoldFalkWintherWeakSymP::compute_basis_functions(), SyFi::TensorP0::compute_basis_functions(), SyFi::TensorLagrange::compute_basis_functions(), SyFi::SpaceTimeElement::compute_basis_functions(), SyFi::Robust::compute_basis_functions_old(), SyFi::DiscontinuousLagrange::DiscontinuousLagrange(), SyFi::Hermite::Hermite(), SyFi::Lagrange::Lagrange(), SyFi::Nedelec::Nedelec(), SyFi::Nedelec2Hdiv::Nedelec2Hdiv(), SyFi::P0::P0(), SyFi::RaviartThomas::RaviartThomas(), SyFi::Robust::Robust(), SyFi::SpaceTimeElement::SpaceTimeElement(), SyFi::TensorLagrange::TensorLagrange(), SyFi::TensorP0::TensorP0(), SyFi::VectorCrouzeixRaviart::VectorCrouzeixRaviart(), SyFi::VectorDiscontinuousLagrange::VectorDiscontinuousLagrange(), SyFi::VectorLagrange::VectorLagrange(), and SyFi::VectorP0::VectorP0().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator