| 
    libMesh
    
   | 
 
#include <assembly.h>
Public Member Functions | |
| Ex6AssemblyExpansion (RBConstruction &rb_con) | |
| Constructor.  More... | |
| void | perform_A_interior_assembly (unsigned int q, FEMContext &context) | 
| Perform the specified A interior assembly.  More... | |
| void | perform_A_boundary_assembly (unsigned int q, FEMContext &context) | 
| Perform the specified A boundary assembly.  More... | |
| void | perform_F_interior_assembly (unsigned int q, FEMContext &context) | 
| Perform the specified F interior assembly.  More... | |
| void | perform_F_boundary_assembly (unsigned int q, FEMContext &context) | 
| Perform the specified F boundary assembly.  More... | |
| void | perform_output_interior_assembly (unsigned int output_index, unsigned int q_l, FEMContext &context) | 
| Perform the specified output assembly.  More... | |
| void | perform_output_boundary_assembly (unsigned int output_index, unsigned int q_l, FEMContext &context) | 
| Perform the specified output assembly.  More... | |
| unsigned int | get_n_A_terms () const | 
| Get Q_a, the number of terms in the affine expansion for the bilinear form.  More... | |
| unsigned int | get_n_F_terms () const | 
| Get Q_f, the number of terms in the affine expansion for the right-hand side.  More... | |
| unsigned int | get_n_outputs () const | 
| Get n_outputs, the number output functionals.  More... | |
| unsigned int | get_n_output_terms (unsigned int output_index) const | 
| Get the number of affine terms associated with the specified output.  More... | |
| void | attach_A_assembly (ElemAssembly *Aq_assembly) | 
| Attach ElemAssembly object for the left-hand side (both interior and boundary assembly).  More... | |
| void | attach_multiple_A_assembly (std::vector< std::unique_ptr< ElemAssembly >> &Aq_assembly) | 
| Attach multiple ElemAssembly objects for the left-hand side (both interior and boundary assembly).  More... | |
| void | attach_F_assembly (ElemAssembly *Fq_assembly) | 
| Attach ElemAssembly object for the right-hand side (both interior and boundary assembly).  More... | |
| void | attach_multiple_F_assembly (std::vector< std::unique_ptr< ElemAssembly >> &Fq_assembly) | 
| Attach multiple ElemAssembly objects for the right-hand side (both interior and boundary assembly).  More... | |
| virtual void | attach_output_assembly (std::vector< std::unique_ptr< ElemAssembly >> &output_assembly) | 
| Attach ElemAssembly object for an output (both interior and boundary assembly).  More... | |
| virtual void | attach_output_assembly (std::vector< ElemAssembly * > output_assembly) | 
| Attach ElemAssembly object for an output (both interior and boundary assembly).  More... | |
| virtual void | attach_output_assembly (ElemAssembly *output_assembly) | 
| Attach ElemAssembly object for an output (both interior and boundary assembly).  More... | |
| ElemAssembly & | get_A_assembly (unsigned int q) | 
| Return a reference to the specified A_assembly object.  More... | |
| ElemAssembly & | get_F_assembly (unsigned int q) | 
| Return a reference to the specified F_assembly object.  More... | |
| ElemAssembly & | get_output_assembly (unsigned int output_index, unsigned int q_l) | 
| Return a reference to the specified output assembly object.  More... | |
Static Public Member Functions | |
| static std::string | get_info () | 
| Gets a string containing the reference information.  More... | |
| static void | print_info (std::ostream &out=libMesh::out) | 
Prints the reference information, by default to libMesh::out.  More... | |
| static unsigned int | n_objects () | 
| Prints the number of outstanding (created, but not yet destroyed) objects.  More... | |
| static void | enable_print_counter_info () | 
| Methods to enable/disable the reference counter output from print_info()  More... | |
| static void | disable_print_counter_info () | 
Public Attributes | |
| AssemblyA0 | assembly_a0 | 
| AssemblyA1 | assembly_a1 | 
| AssemblyA2 | assembly_a2 | 
| AssemblyF0 | assembly_f0 | 
| AssemblyF1 | assembly_f1 | 
Protected Types | |
| typedef std::map< std::string, std::pair< unsigned int, unsigned int > > | Counts | 
| Data structure to log the information.  More... | |
Protected Member Functions | |
| void | increment_constructor_count (const std::string &name) | 
| Increments the construction counter.  More... | |
| void | increment_destructor_count (const std::string &name) | 
| Increments the destruction counter.  More... | |
Static Protected Attributes | |
| static Counts | _counts | 
| Actually holds the data.  More... | |
| static Threads::atomic< unsigned int > | _n_objects | 
| The number of objects.  More... | |
| static Threads::spin_mutex | _mutex | 
| Mutual exclusion object to enable thread-safe reference counting.  More... | |
| static bool | _enable_print_counter = true | 
| Flag to control whether reference count information is printed when print_info is called.  More... | |
Private Attributes | |
| std::vector< ElemAssembly * > | _A_assembly_vector | 
| Vectors storing the function pointers to the assembly routines for the affine operators, both interior and boundary assembly.  More... | |
| std::vector< ElemAssembly * > | _F_assembly_vector | 
| Vector storing the function pointers to the assembly routines for the rhs affine vectors.  More... | |
| std::vector< std::vector< ElemAssembly * > > | _output_assembly_vector | 
| Vector storing the function pointers to the assembly routines for the outputs.  More... | |
Definition at line 451 of file assembly.h.
      
  | 
  protectedinherited | 
Data structure to log the information.
The log is identified by the class name.
Definition at line 117 of file reference_counter.h.
      
  | 
  inline | 
Constructor.
Definition at line 457 of file assembly.h.
References assembly_a0, assembly_a1, assembly_a2, assembly_f0, assembly_f1, libMesh::RBAssemblyExpansion::attach_A_assembly(), libMesh::RBAssemblyExpansion::attach_F_assembly(), and ElemAssemblyWithConstruction::rb_con.
      
  | 
  inherited | 
Attach ElemAssembly object for the left-hand side (both interior and boundary assembly).
Definition at line 131 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector.
Referenced by AcousticsRBAssemblyExpansion::AcousticsRBAssemblyExpansion(), CDRBAssemblyExpansion::CDRBAssemblyExpansion(), EimTestRBAssemblyExpansion::EimTestRBAssemblyExpansion(), ElasticityAssemblyExpansion::ElasticityAssemblyExpansion(), and Ex6AssemblyExpansion().
      
  | 
  inherited | 
Attach ElemAssembly object for the right-hand side (both interior and boundary assembly).
Definition at line 142 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_F_assembly_vector.
Referenced by AcousticsRBAssemblyExpansion::AcousticsRBAssemblyExpansion(), CDRBAssemblyExpansion::CDRBAssemblyExpansion(), ElasticityAssemblyExpansion::ElasticityAssemblyExpansion(), and Ex6AssemblyExpansion().
      
  | 
  inherited | 
Attach multiple ElemAssembly objects for the left-hand side (both interior and boundary assembly).
Definition at line 136 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector.
      
  | 
  inherited | 
Attach multiple ElemAssembly objects for the right-hand side (both interior and boundary assembly).
Definition at line 147 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_F_assembly_vector.
      
  | 
  virtualinherited | 
Attach ElemAssembly object for an output (both interior and boundary assembly).
This function provides simpler syntax in the case that Q_l = 1; we do not need to use a vector in this case.
Definition at line 167 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::attach_output_assembly().
      
  | 
  virtualinherited | 
Attach ElemAssembly object for an output (both interior and boundary assembly).
In this case we pass in vector arguments to allow for Q_l > 1.
Definition at line 162 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_output_assembly_vector.
      
  | 
  virtualinherited | 
Attach ElemAssembly object for an output (both interior and boundary assembly).
In this case we pass in vector arguments to allow for Q_l > 1.
Definition at line 153 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_output_assembly_vector.
Referenced by AcousticsRBAssemblyExpansion::AcousticsRBAssemblyExpansion(), libMesh::RBAssemblyExpansion::attach_output_assembly(), and CDRBAssemblyExpansion::CDRBAssemblyExpansion().
      
  | 
  staticinherited | 
Definition at line 106 of file reference_counter.C.
References libMesh::ReferenceCounter::_enable_print_counter.
Referenced by libMesh::LibMeshInit::LibMeshInit().
      
  | 
  staticinherited | 
Methods to enable/disable the reference counter output from print_info()
Definition at line 100 of file reference_counter.C.
References libMesh::ReferenceCounter::_enable_print_counter.
      
  | 
  inherited | 
Return a reference to the specified A_assembly object.
Definition at line 174 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector, and libMesh::RBAssemblyExpansion::get_n_A_terms().
Referenced by libMesh::RBConstruction::add_scaled_Aq(), libMesh::RBConstruction::assemble_Aq_matrix(), and libMesh::RBConstruction::assemble_inner_product_matrix().
      
  | 
  inherited | 
Return a reference to the specified F_assembly object.
Definition at line 182 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_F_assembly_vector, and libMesh::RBAssemblyExpansion::get_n_F_terms().
Referenced by libMesh::RBConstruction::assemble_Fq_vector().
      
  | 
  staticinherited | 
Gets a string containing the reference information.
Definition at line 47 of file reference_counter.C.
References libMesh::ReferenceCounter::_counts, and libMesh::Quality::name().
Referenced by libMesh::ReferenceCounter::print_info().
      
  | 
  inherited | 
Get Q_a, the number of terms in the affine expansion for the bilinear form.
Definition at line 104 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector.
Referenced by libMesh::RBAssemblyExpansion::get_A_assembly(), libMesh::RBAssemblyExpansion::perform_A_boundary_assembly(), and libMesh::RBAssemblyExpansion::perform_A_interior_assembly().
      
  | 
  inherited | 
Get Q_f, the number of terms in the affine expansion for the right-hand side.
Definition at line 110 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_F_assembly_vector.
Referenced by libMesh::RBAssemblyExpansion::get_F_assembly(), libMesh::RBAssemblyExpansion::perform_F_boundary_assembly(), and libMesh::RBAssemblyExpansion::perform_F_interior_assembly().
Get the number of affine terms associated with the specified output.
Definition at line 122 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_output_assembly_vector, and libMesh::RBAssemblyExpansion::get_n_outputs().
Referenced by libMesh::RBAssemblyExpansion::get_output_assembly(), libMesh::RBAssemblyExpansion::perform_output_boundary_assembly(), and libMesh::RBAssemblyExpansion::perform_output_interior_assembly().
      
  | 
  inherited | 
Get n_outputs, the number output functionals.
Definition at line 116 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_output_assembly_vector.
Referenced by libMesh::RBAssemblyExpansion::get_n_output_terms(), libMesh::RBAssemblyExpansion::get_output_assembly(), libMesh::RBAssemblyExpansion::perform_output_boundary_assembly(), and libMesh::RBAssemblyExpansion::perform_output_interior_assembly().
      
  | 
  inherited | 
Return a reference to the specified output assembly object.
Definition at line 190 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_output_assembly_vector, libMesh::RBAssemblyExpansion::get_n_output_terms(), and libMesh::RBAssemblyExpansion::get_n_outputs().
Referenced by libMesh::RBConstruction::assemble_all_output_vectors().
      
  | 
  inlineprotectedinherited | 
Increments the construction counter.
Should be called in the constructor of any derived class that will be reference counted.
Definition at line 181 of file reference_counter.h.
References libMesh::ReferenceCounter::_counts, libMesh::Quality::name(), and libMesh::Threads::spin_mtx.
Referenced by libMesh::ReferenceCountedObject< RBParametrized >::ReferenceCountedObject().
      
  | 
  inlineprotectedinherited | 
Increments the destruction counter.
Should be called in the destructor of any derived class that will be reference counted.
Definition at line 194 of file reference_counter.h.
References libMesh::ReferenceCounter::_counts, libMesh::Quality::name(), and libMesh::Threads::spin_mtx.
Referenced by libMesh::ReferenceCountedObject< RBParametrized >::~ReferenceCountedObject().
      
  | 
  inlinestaticinherited | 
Prints the number of outstanding (created, but not yet destroyed) objects.
Definition at line 83 of file reference_counter.h.
References libMesh::ReferenceCounter::_n_objects.
      
  | 
  inherited | 
Perform the specified A boundary assembly.
Definition at line 45 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::get_n_A_terms(), and libMesh::libmesh_assert().
      
  | 
  inherited | 
Perform the specified A interior assembly.
Definition at line 34 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::get_n_A_terms(), and libMesh::libmesh_assert().
      
  | 
  inherited | 
Perform the specified F boundary assembly.
Definition at line 67 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::_F_assembly_vector, libMesh::RBAssemblyExpansion::get_n_F_terms(), and libMesh::libmesh_assert().
      
  | 
  inherited | 
Perform the specified F interior assembly.
Definition at line 56 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::_F_assembly_vector, libMesh::RBAssemblyExpansion::get_n_F_terms(), and libMesh::libmesh_assert().
      
  | 
  inherited | 
Perform the specified output assembly.
Definition at line 91 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_output_assembly_vector, libMesh::RBAssemblyExpansion::get_n_output_terms(), libMesh::RBAssemblyExpansion::get_n_outputs(), and libMesh::libmesh_assert().
      
  | 
  inherited | 
Perform the specified output assembly.
Definition at line 78 of file rb_assembly_expansion.C.
References libMesh::RBAssemblyExpansion::_output_assembly_vector, libMesh::RBAssemblyExpansion::get_n_output_terms(), libMesh::RBAssemblyExpansion::get_n_outputs(), and libMesh::libmesh_assert().
      
  | 
  staticinherited | 
Prints the reference information, by default to libMesh::out. 
Definition at line 87 of file reference_counter.C.
References libMesh::ReferenceCounter::_enable_print_counter, and libMesh::ReferenceCounter::get_info().
      
  | 
  privateinherited | 
Vectors storing the function pointers to the assembly routines for the affine operators, both interior and boundary assembly.
Definition at line 186 of file rb_assembly_expansion.h.
Referenced by libMesh::RBAssemblyExpansion::attach_A_assembly(), libMesh::RBAssemblyExpansion::attach_multiple_A_assembly(), libMesh::RBAssemblyExpansion::get_A_assembly(), libMesh::RBAssemblyExpansion::get_n_A_terms(), libMesh::RBAssemblyExpansion::perform_A_boundary_assembly(), libMesh::RBAssemblyExpansion::perform_A_interior_assembly(), libMesh::RBAssemblyExpansion::perform_F_boundary_assembly(), and libMesh::RBAssemblyExpansion::perform_F_interior_assembly().
      
  | 
  staticprotectedinherited | 
Actually holds the data.
Definition at line 122 of file reference_counter.h.
Referenced by libMesh::ReferenceCounter::get_info(), libMesh::ReferenceCounter::increment_constructor_count(), and libMesh::ReferenceCounter::increment_destructor_count().
      
  | 
  staticprotectedinherited | 
Flag to control whether reference count information is printed when print_info is called.
Definition at line 141 of file reference_counter.h.
Referenced by libMesh::ReferenceCounter::disable_print_counter_info(), libMesh::ReferenceCounter::enable_print_counter_info(), and libMesh::ReferenceCounter::print_info().
      
  | 
  privateinherited | 
Vector storing the function pointers to the assembly routines for the rhs affine vectors.
Definition at line 192 of file rb_assembly_expansion.h.
Referenced by libMesh::RBAssemblyExpansion::attach_F_assembly(), libMesh::RBAssemblyExpansion::attach_multiple_F_assembly(), libMesh::RBAssemblyExpansion::get_F_assembly(), libMesh::RBAssemblyExpansion::get_n_F_terms(), libMesh::RBAssemblyExpansion::perform_F_boundary_assembly(), and libMesh::RBAssemblyExpansion::perform_F_interior_assembly().
      
  | 
  staticprotectedinherited | 
Mutual exclusion object to enable thread-safe reference counting.
Definition at line 135 of file reference_counter.h.
      
  | 
  staticprotectedinherited | 
The number of objects.
Print the reference count information when the number returns to 0.
Definition at line 130 of file reference_counter.h.
Referenced by libMesh::ReferenceCounter::n_objects(), libMesh::ReferenceCounter::ReferenceCounter(), and libMesh::ReferenceCounter::~ReferenceCounter().
      
  | 
  privateinherited | 
Vector storing the function pointers to the assembly routines for the outputs.
Element interior part.
Definition at line 198 of file rb_assembly_expansion.h.
Referenced by libMesh::RBAssemblyExpansion::attach_output_assembly(), libMesh::RBAssemblyExpansion::get_n_output_terms(), libMesh::RBAssemblyExpansion::get_n_outputs(), libMesh::RBAssemblyExpansion::get_output_assembly(), libMesh::RBAssemblyExpansion::perform_output_boundary_assembly(), and libMesh::RBAssemblyExpansion::perform_output_interior_assembly().
| AssemblyA0 Ex6AssemblyExpansion::assembly_a0 | 
Definition at line 472 of file assembly.h.
Referenced by Ex6AssemblyExpansion().
| AssemblyA1 Ex6AssemblyExpansion::assembly_a1 | 
Definition at line 473 of file assembly.h.
Referenced by Ex6AssemblyExpansion().
| AssemblyA2 Ex6AssemblyExpansion::assembly_a2 | 
Definition at line 474 of file assembly.h.
Referenced by Ex6AssemblyExpansion().
| AssemblyF0 Ex6AssemblyExpansion::assembly_f0 | 
Definition at line 475 of file assembly.h.
Referenced by Ex6AssemblyExpansion().
| AssemblyF1 Ex6AssemblyExpansion::assembly_f1 | 
Definition at line 476 of file assembly.h.
Referenced by Ex6AssemblyExpansion().
 1.8.16