Hermes2D
3.0
|
Public Member Functions | |
DefaultWeakFormLaplace (std::string area=HERMES_ANY, Hermes1DFunction< Scalar > *coeff=nullptr, GeomType gt=HERMES_PLANAR) | |
![]() | |
WeakForm (unsigned int neq=1, bool mat_free=false) | |
virtual | ~WeakForm () |
Destructor. | |
void | add_matrix_form (MatrixFormVol< Scalar > *mfv) |
Adds volumetric matrix form. | |
void | add_matrix_form_surf (MatrixFormSurf< Scalar > *mfs) |
Adds surface matrix form. | |
void | add_matrix_form_DG (MatrixFormDG< Scalar > *mfDG) |
Adds DG matrix form. | |
void | add_vector_form (VectorFormVol< Scalar > *vfv) |
Adds volumetric vector form. | |
void | add_vector_form_surf (VectorFormSurf< Scalar > *vfs) |
Adds surface vector form. | |
void | add_vector_form_DG (VectorFormDG< Scalar > *vfDG) |
Adds DG vector form. | |
virtual void | set_active_state (Element **e) |
virtual void | set_active_edge_state (Element **e, unsigned char isurf) |
virtual void | set_active_DG_state (Element **e, unsigned char isurf) |
unsigned char | get_neq () const |
Returns the number of equations. | |
bool | is_matrix_free () const |
This weakform is matrix-free. | |
void | set_current_time (double time) |
void | set_current_time_step (double time_step) |
virtual double | get_current_time () const |
virtual double | get_current_time_step () const |
void | set_u_ext_fn (UExtFunctionSharedPtr< Scalar > ext) |
void | set_ext (MeshFunctionSharedPtr< Scalar > ext) |
void | set_u_ext_fn (std::vector< UExtFunctionSharedPtr< Scalar > > ext) |
void | set_ext (std::vector< MeshFunctionSharedPtr< Scalar > > ext) |
std::vector < MeshFunctionSharedPtr < Scalar > > | get_ext () const |
virtual WeakForm * | clone () const |
Cloning. | |
bool | is_DG () const |
std::vector< Form< Scalar > * > | get_forms () const |
Internal. | |
std::vector< MatrixFormVol < Scalar > * > | get_mfvol () const |
std::vector< MatrixFormSurf < Scalar > * > | get_mfsurf () const |
std::vector< MatrixFormDG < Scalar > * > | get_mfDG () const |
std::vector< VectorFormVol < Scalar > * > | get_vfvol () const |
std::vector< VectorFormSurf < Scalar > * > | get_vfsurf () const |
std::vector< VectorFormDG < Scalar > * > | get_vfDG () const |
void | delete_all () |
Deletes all volumetric and surface forms. | |
Additional Inherited Members | |
![]() | |
enum | FormIntegrationDimension { FormVol = 0, FormSurf = 1 } |
enum | FormEquationSide { MatrixForm = 0, VectorForm = 1 } |
![]() | |
bool ** | get_blocks (bool force_diagonal_blocks) const |
virtual void | cloneMembers (const WeakFormSharedPtr< Scalar > &other_wf) |
void | cloneMemberExtFunctions (std::vector< MeshFunctionSharedPtr< Scalar > > source_ext, std::vector< MeshFunctionSharedPtr< Scalar > > &cloned_ext) |
template<typename FormType > | |
void | processFormMarkers (const std::vector< SpaceSharedPtr< Scalar > > spaces, bool surface, std::vector< FormType > forms_to_process) |
void | processFormMarkers (const std::vector< SpaceSharedPtr< Scalar > > spaces) |
![]() | |
std::vector < MeshFunctionSharedPtr < Scalar > > | ext |
External solutions. | |
std::vector < UExtFunctionSharedPtr < Scalar > > | u_ext_fn |
double | current_time |
double | current_time_step |
unsigned int | neq |
Number of equations. | |
unsigned int | original_neq |
Original number of equations in case this is a Runge-Kutta enlarged system. | |
bool | is_matfree |
std::vector< Form< Scalar > * > | forms |
Holds all forms. | |
std::vector< MatrixFormVol < Scalar > * > | mfvol |
Holds volumetric matrix forms. | |
std::vector< MatrixFormSurf < Scalar > * > | mfsurf |
Holds surface matrix forms. | |
std::vector< MatrixFormDG < Scalar > * > | mfDG |
Holds DG matrix forms. | |
std::vector< VectorFormVol < Scalar > * > | vfvol |
Holds volumetric vector forms. | |
std::vector< VectorFormSurf < Scalar > * > | vfsurf |
Holds surface vector forms. | |
std::vector< VectorFormDG < Scalar > * > | vfDG |
Holds DG vector forms. | |
Definition at line 410 of file weakforms_h1.h.