FEMSuite
Public Member Functions | List of all members
EquationSet Class Reference

This class stores and solves a group of equations More...

#include <EquationSet.h>

Public Member Functions

void Add (const Equation &equation)
 Adds a new equation More...
 
std::vector< Equation > GetEquations () const
 Retrieves a list of equations More...
 
std::map< std::string, double > CalculateSolutions ()
 Calculate the solutions of this set of equations More...
 
std::map< std::string, ComplexCalculateComplexSolutions ()
 Calculate the solutions of this set of equations More...
 
 EquationSet (const Equation &e)
 This initializes the class with a single equation More...
 

Detailed Description

This class stores and solves a group of equations

Constructor & Destructor Documentation

EquationSet::EquationSet ( const Equation &  e)
inline

This initializes the class with a single equation

Member Function Documentation

void EquationSet::Add ( const Equation &  equation)
inline

Adds a new equation

std::map<std::string, Complex> EquationSet::CalculateComplexSolutions ( )

Calculate the solutions of this set of equations

Returns
Map of string (variable name) and Complex (variable value)
std::map<std::string, double> EquationSet::CalculateSolutions ( )

Calculate the solutions of this set of equations

Returns
Map of string (variable name) and double (variable value)
std::vector<Equation> EquationSet::GetEquations ( ) const
inline

Retrieves a list of equations


The documentation for this class was generated from the following file: