libMesh
Public Types | Public Member Functions | Public Attributes | List of all members
SimpleEIMConstruction Class Reference

#include <eim_classes.h>

Inheritance diagram for SimpleEIMConstruction:
[legend]

Public Types

typedef RBEIMConstruction Parent
 The type of the parent. More...
 
typedef RBEIMConstruction Parent
 The type of the parent. More...
 

Public Member Functions

 SimpleEIMConstruction (EquationSystems &es, const std::string &name_in, const unsigned int number_in)
 Constructor. More...
 
virtual std::unique_ptr< ElemAssembly > build_eim_assembly (unsigned int index)
 Provide an implementation of build_eim_assembly. More...
 
virtual void init_data ()
 Initialize data structures. More...
 
virtual void init_implicit_system ()
 Initialize the implicit system that is used to perform L2 projections. More...
 
virtual void init_explicit_system ()
 Initialize the explicit system that is used to store the basis functions. More...
 
 SimpleEIMConstruction (EquationSystems &es, const std::string &name_in, const unsigned int number_in)
 Constructor. More...
 
virtual std::unique_ptr< ElemAssembly > build_eim_assembly (unsigned int index)
 Provide an implementation of build_eim_assembly. More...
 
virtual void init_data ()
 Initialize data structures. More...
 
virtual void init_implicit_system ()
 Initialize the implicit system that is used to perform L2 projections. More...
 
virtual void init_explicit_system ()
 Initialize the explicit system that is used to store the basis functions. More...
 

Public Attributes

unsigned int u_var
 Variable number for u. More...
 
EIM_IP_assembly ip
 Inner product assembly object. More...
 
unsigned int Gx_var
 Variable numbers. More...
 
unsigned int Gy_var
 
unsigned int Gz_var
 
Ex6EIMInnerProduct eim_ip
 Inner product assembly object. More...
 

Detailed Description

Definition at line 40 of file eim_classes.h.

Member Typedef Documentation

◆ Parent [1/2]

typedef RBEIMConstruction SimpleEIMConstruction::Parent

The type of the parent.

Definition at line 57 of file eim_classes.h.

◆ Parent [2/2]

typedef RBEIMConstruction SimpleEIMConstruction::Parent

The type of the parent.

Definition at line 65 of file eim_classes.h.

Constructor & Destructor Documentation

◆ SimpleEIMConstruction() [1/2]

SimpleEIMConstruction::SimpleEIMConstruction ( EquationSystems es,
const std::string &  name_in,
const unsigned int  number_in 
)

Constructor.

Definition at line 47 of file eim_classes.h.

50  : Parent(es, name_in, number_in)
51  {
52  }
RBEIMConstruction Parent
The type of the parent.
Definition: eim_classes.h:57

◆ SimpleEIMConstruction() [2/2]

SimpleEIMConstruction::SimpleEIMConstruction ( EquationSystems &  es,
const std::string &  name_in,
const unsigned int  number_in 
)

Constructor.

Definition at line 55 of file eim_classes.h.

58  : Parent(es, name_in, number_in)
59  {
60  }
RBEIMConstruction Parent
The type of the parent.
Definition: eim_classes.h:57

Member Function Documentation

◆ build_eim_assembly() [1/2]

virtual std::unique_ptr<ElemAssembly> SimpleEIMConstruction::build_eim_assembly ( unsigned int  index)
virtual

Provide an implementation of build_eim_assembly.

Definition at line 62 of file eim_classes.h.

63  {
64  return libmesh_make_unique<EIM_F>(*this, index);
65  }

◆ build_eim_assembly() [2/2]

virtual std::unique_ptr<ElemAssembly> SimpleEIMConstruction::build_eim_assembly ( unsigned int  index)
virtual

Provide an implementation of build_eim_assembly.

Definition at line 70 of file eim_classes.h.

71  {
72  return libmesh_make_unique<AssemblyEIM>(*this, index);
73  }

◆ init_data() [1/2]

virtual void SimpleEIMConstruction::init_data ( )
virtual

Initialize data structures.

Definition at line 70 of file eim_classes.h.

References ip.

71  {
72  Parent::init_data();
73 
74  set_inner_product_assembly(ip);
75  }
EIM_IP_assembly ip
Inner product assembly object.
Definition: eim_classes.h:101

◆ init_data() [2/2]

virtual void SimpleEIMConstruction::init_data ( )
virtual

Initialize data structures.

Definition at line 78 of file eim_classes.h.

References eim_ip.

79  {
80  Parent::init_data();
81 
82  set_inner_product_assembly(eim_ip);
83  }
Ex6EIMInnerProduct eim_ip
Inner product assembly object.
Definition: eim_classes.h:113

◆ init_explicit_system() [1/2]

virtual void SimpleEIMConstruction::init_explicit_system ( )
virtual

Initialize the explicit system that is used to store the basis functions.

Definition at line 88 of file eim_classes.h.

References libMesh::FIRST, and u_var.

89  {
90  u_var = get_explicit_system().add_variable ("f_EIM", libMesh::FIRST);
91  }
unsigned int u_var
Variable number for u.
Definition: eim_classes.h:96

◆ init_explicit_system() [2/2]

virtual void SimpleEIMConstruction::init_explicit_system ( )
virtual

Initialize the explicit system that is used to store the basis functions.

Definition at line 96 of file eim_classes.h.

References libMesh::FIRST, Gx_var, Gy_var, and Gz_var.

97  {
98  Gx_var = get_explicit_system().add_variable ("x_comp_of_G", libMesh::FIRST);
99  Gy_var = get_explicit_system().add_variable ("y_comp_of_G", libMesh::FIRST);
100  Gz_var = get_explicit_system().add_variable ("z_comp_of_G", libMesh::FIRST);
101  }
unsigned int Gz_var
Definition: eim_classes.h:108
unsigned int Gx_var
Variable numbers.
Definition: eim_classes.h:106
unsigned int Gy_var
Definition: eim_classes.h:107

◆ init_implicit_system() [1/2]

virtual void SimpleEIMConstruction::init_implicit_system ( )
virtual

Initialize the implicit system that is used to perform L2 projections.

Definition at line 80 of file eim_classes.h.

References libMesh::FIRST.

81  {
82  this->add_variable ("L2_proj_var", libMesh::FIRST);
83  }

◆ init_implicit_system() [2/2]

virtual void SimpleEIMConstruction::init_implicit_system ( )
virtual

Initialize the implicit system that is used to perform L2 projections.

Definition at line 88 of file eim_classes.h.

References libMesh::FIRST.

89  {
90  this->add_variable ("L2_proj_var", libMesh::FIRST);
91  }

Member Data Documentation

◆ eim_ip

Ex6EIMInnerProduct SimpleEIMConstruction::eim_ip

Inner product assembly object.

Definition at line 113 of file eim_classes.h.

Referenced by init_data().

◆ Gx_var

unsigned int SimpleEIMConstruction::Gx_var

Variable numbers.

Definition at line 106 of file eim_classes.h.

Referenced by init_explicit_system().

◆ Gy_var

unsigned int SimpleEIMConstruction::Gy_var

Definition at line 107 of file eim_classes.h.

Referenced by init_explicit_system().

◆ Gz_var

unsigned int SimpleEIMConstruction::Gz_var

Definition at line 108 of file eim_classes.h.

Referenced by init_explicit_system().

◆ ip

EIM_IP_assembly SimpleEIMConstruction::ip

Inner product assembly object.

Definition at line 101 of file eim_classes.h.

Referenced by init_data().

◆ u_var

unsigned int SimpleEIMConstruction::u_var

Variable number for u.

Definition at line 96 of file eim_classes.h.

Referenced by init_explicit_system().


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