Hermes2D  2.0
Hermes::Hermes2D::MatrixForm< Scalar > Class Template Reference

Abstract, base class for matrix form - i.e. a single integral in the bilinear form on the left hand side of the variational formulation of a (system of) PDE.
By default, the matrix form is initialized with the following natural attribute:
More...

#include <weakform.h>

+ Inheritance diagram for Hermes::Hermes2D::MatrixForm< Scalar >:

Public Types

typedef Scalar valueFunction (int n, double *wt, Func< Scalar > *u_ext[], Func< double > *u, Func< double > *v, Geom< double > *e, Func< Scalar > **ext) const
 

Public Member Functions

 MatrixForm (unsigned int i, unsigned int j)
 Constructor with coordinates.
 
virtual Scalar value (int n, double *wt, Func< Scalar > *u_ext[], Func< double > *u, Func< double > *v, Geom< double > *e, Func< Scalar > **ext) const
 
virtual Hermes::Ord ord (int n, double *wt, Func< Hermes::Ord > *u_ext[], Func< Hermes::Ord > *u, Func< Hermes::Ord > *v, Geom< Hermes::Ord > *e, Func< Ord > **ext) const
 
- Public Member Functions inherited from Hermes::Hermes2D::Form< Scalar >
 Form ()
 Constructor with coordinates.
 
void set_area (std::string area)
 
void set_areas (Hermes::vector< std::string > areas)
 
Hermes::vector< std::string > getAreas () const
 
void set_ext (MeshFunction< Scalar > *ext)
 
void set_ext (Hermes::vector< MeshFunction< Scalar > * > ext)
 
Hermes::vector< MeshFunction
< Scalar > * > 
get_ext () const
 

Public Attributes

unsigned int i
 
unsigned int j
 
unsigned int previous_iteration_space_index
 
SymFlag sym
 

Friends

class DiscreteProblem< Scalar >
 

Additional Inherited Members

- Protected Member Functions inherited from Hermes::Hermes2D::Form< Scalar >
void set_weakform (WeakForm< Scalar > *wf)
 Set pointer to a WeakForm.
 
void set_current_stage_time (double time)
 
double get_current_stage_time () const
 
void setScalingFactor (double scalingFactor)
 
void set_uExtOffset (int u_ext_offset)
 
- Protected Attributes inherited from Hermes::Hermes2D::Form< Scalar >
Hermes::vector< std::string > areas
 Markers of the areas where this form will be assembled.
 
int u_ext_offset
 
Hermes::vector< MeshFunction
< Scalar > * > 
ext
 External solutions.
 
double scaling_factor
 Form will be always multiplied (scaled) with this number.
 
WeakForm< Scalar > * wf
 
double stage_time
 

Detailed Description

template<typename Scalar>
class Hermes::Hermes2D::MatrixForm< Scalar >

Abstract, base class for matrix form - i.e. a single integral in the bilinear form on the left hand side of the variational formulation of a (system of) PDE.
By default, the matrix form is initialized with the following natural attribute:

  • nonsymmetrical (if the user omits the HERMES_SYM / HERMES_ANTISYM parameters, nothing worse than a non-necessary calculations happen).

Definition at line 251 of file weakform.h.


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