libMesh
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Attributes | Private Attributes | List of all members
Ex6AssemblyExpansion Struct Reference

#include <assembly.h>

Inheritance diagram for Ex6AssemblyExpansion:
[legend]

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...
 

Detailed Description

Definition at line 451 of file assembly.h.

Member Typedef Documentation

◆ Counts

typedef std::map<std::string, std::pair<unsigned int, unsigned int> > libMesh::ReferenceCounter::Counts
protectedinherited

Data structure to log the information.

The log is identified by the class name.

Definition at line 117 of file reference_counter.h.

Constructor & Destructor Documentation

◆ Ex6AssemblyExpansion()

Ex6AssemblyExpansion::Ex6AssemblyExpansion ( RBConstruction rb_con)
inline

Constructor.

Definition at line 457 of file assembly.h.

458  {
459  // Point to the RBConstruction object
460  assembly_a0.rb_con = &rb_con;
461  assembly_a1.rb_con = &rb_con;
462  assembly_a2.rb_con = &rb_con;
463 
467  attach_F_assembly(&assembly_f0); // Attach the rhs assembly
469  }

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.

Member Function Documentation

◆ attach_A_assembly()

void RBAssemblyExpansion::attach_A_assembly ( ElemAssembly Aq_assembly)
inherited

◆ attach_F_assembly()

void RBAssemblyExpansion::attach_F_assembly ( ElemAssembly Fq_assembly)
inherited

Attach ElemAssembly object for the right-hand side (both interior and boundary assembly).

Definition at line 142 of file rb_assembly_expansion.C.

143 {
144  _F_assembly_vector.push_back(Fq_assembly);
145 }

References libMesh::RBAssemblyExpansion::_F_assembly_vector.

Referenced by AcousticsRBAssemblyExpansion::AcousticsRBAssemblyExpansion(), CDRBAssemblyExpansion::CDRBAssemblyExpansion(), ElasticityAssemblyExpansion::ElasticityAssemblyExpansion(), and Ex6AssemblyExpansion().

◆ attach_multiple_A_assembly()

void RBAssemblyExpansion::attach_multiple_A_assembly ( std::vector< std::unique_ptr< ElemAssembly >> &  Aq_assembly)
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.

137 {
138  for (auto & up : Aq_assembly)
139  _A_assembly_vector.push_back(up.get());
140 }

References libMesh::RBAssemblyExpansion::_A_assembly_vector.

◆ attach_multiple_F_assembly()

void RBAssemblyExpansion::attach_multiple_F_assembly ( std::vector< std::unique_ptr< ElemAssembly >> &  Fq_assembly)
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.

148 {
149  for (auto & up : Fq_assembly)
150  _F_assembly_vector.push_back(up.get());
151 }

References libMesh::RBAssemblyExpansion::_F_assembly_vector.

◆ attach_output_assembly() [1/3]

void RBAssemblyExpansion::attach_output_assembly ( ElemAssembly output_assembly)
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.

168 {
169  std::vector<ElemAssembly *> L_vector(1); L_vector[0] = output_assembly;
170 
171  attach_output_assembly(L_vector);
172 }

References libMesh::RBAssemblyExpansion::attach_output_assembly().

◆ attach_output_assembly() [2/3]

void RBAssemblyExpansion::attach_output_assembly ( std::vector< ElemAssembly * >  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.

163 {
164  _output_assembly_vector.push_back(output_assembly);
165 }

References libMesh::RBAssemblyExpansion::_output_assembly_vector.

◆ attach_output_assembly() [3/3]

void RBAssemblyExpansion::attach_output_assembly ( std::vector< std::unique_ptr< ElemAssembly >> &  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 153 of file rb_assembly_expansion.C.

154 {
155  std::vector<ElemAssembly *> output_assembly_ptr;
156  for (auto & up : output_assembly)
157  output_assembly_ptr.push_back(up.get());
158 
159  _output_assembly_vector.push_back(output_assembly_ptr);
160 }

References libMesh::RBAssemblyExpansion::_output_assembly_vector.

Referenced by AcousticsRBAssemblyExpansion::AcousticsRBAssemblyExpansion(), libMesh::RBAssemblyExpansion::attach_output_assembly(), and CDRBAssemblyExpansion::CDRBAssemblyExpansion().

◆ disable_print_counter_info()

void libMesh::ReferenceCounter::disable_print_counter_info ( )
staticinherited

Definition at line 106 of file reference_counter.C.

107 {
108  _enable_print_counter = false;
109  return;
110 }

References libMesh::ReferenceCounter::_enable_print_counter.

Referenced by libMesh::LibMeshInit::LibMeshInit().

◆ enable_print_counter_info()

void libMesh::ReferenceCounter::enable_print_counter_info ( )
staticinherited

Methods to enable/disable the reference counter output from print_info()

Definition at line 100 of file reference_counter.C.

101 {
102  _enable_print_counter = true;
103  return;
104 }

References libMesh::ReferenceCounter::_enable_print_counter.

◆ get_A_assembly()

ElemAssembly & RBAssemblyExpansion::get_A_assembly ( unsigned int  q)
inherited

Return a reference to the specified A_assembly object.

Definition at line 174 of file rb_assembly_expansion.C.

175 {
176  if (q >= get_n_A_terms())
177  libmesh_error_msg("Error: We must have q < get_n_A_terms in get_A_assembly.");
178 
179  return *_A_assembly_vector[q];
180 }

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().

◆ get_F_assembly()

ElemAssembly & RBAssemblyExpansion::get_F_assembly ( unsigned int  q)
inherited

Return a reference to the specified F_assembly object.

Definition at line 182 of file rb_assembly_expansion.C.

183 {
184  if (q >= get_n_F_terms())
185  libmesh_error_msg("Error: We must have q < get_n_F_terms in get_F_assembly.");
186 
187  return *_F_assembly_vector[q];
188 }

References libMesh::RBAssemblyExpansion::_F_assembly_vector, and libMesh::RBAssemblyExpansion::get_n_F_terms().

Referenced by libMesh::RBConstruction::assemble_Fq_vector().

◆ get_info()

std::string libMesh::ReferenceCounter::get_info ( )
staticinherited

Gets a string containing the reference information.

Definition at line 47 of file reference_counter.C.

48 {
49 #if defined(LIBMESH_ENABLE_REFERENCE_COUNTING) && defined(DEBUG)
50 
51  std::ostringstream oss;
52 
53  oss << '\n'
54  << " ---------------------------------------------------------------------------- \n"
55  << "| Reference count information |\n"
56  << " ---------------------------------------------------------------------------- \n";
57 
58  for (const auto & pr : _counts)
59  {
60  const std::string name(pr.first);
61  const unsigned int creations = pr.second.first;
62  const unsigned int destructions = pr.second.second;
63 
64  oss << "| " << name << " reference count information:\n"
65  << "| Creations: " << creations << '\n'
66  << "| Destructions: " << destructions << '\n';
67  }
68 
69  oss << " ---------------------------------------------------------------------------- \n";
70 
71  return oss.str();
72 
73 #else
74 
75  return "";
76 
77 #endif
78 }

References libMesh::ReferenceCounter::_counts, and libMesh::Quality::name().

Referenced by libMesh::ReferenceCounter::print_info().

◆ get_n_A_terms()

unsigned int RBAssemblyExpansion::get_n_A_terms ( ) const
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.

105 {
106  return cast_int<unsigned int>
107  (_A_assembly_vector.size());
108 }

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().

◆ get_n_F_terms()

unsigned int RBAssemblyExpansion::get_n_F_terms ( ) const
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.

111 {
112  return cast_int<unsigned int>
113  (_F_assembly_vector.size());
114 }

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_n_output_terms()

unsigned int RBAssemblyExpansion::get_n_output_terms ( unsigned int  output_index) const
inherited

Get the number of affine terms associated with the specified output.

Definition at line 122 of file rb_assembly_expansion.C.

123 {
124  if (index >= get_n_outputs())
125  libmesh_error_msg("Error: We must have index < n_outputs in get_Q_l.");
126 
127  return cast_int<unsigned int>
128  (_output_assembly_vector[index].size());
129 }

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().

◆ get_n_outputs()

unsigned int RBAssemblyExpansion::get_n_outputs ( ) const
inherited

◆ get_output_assembly()

ElemAssembly & RBAssemblyExpansion::get_output_assembly ( unsigned int  output_index,
unsigned int  q_l 
)
inherited

Return a reference to the specified output assembly object.

Definition at line 190 of file rb_assembly_expansion.C.

192 {
193  if ((output_index >= get_n_outputs()) || (q_l >= get_n_output_terms(output_index)))
194  libmesh_error_msg("Error: We must have output_index < n_outputs and " \
195  << "q_l < get_n_output_terms(output_index) in get_output_assembly.");
196 
197  return *_output_assembly_vector[output_index][q_l];
198 }

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().

◆ increment_constructor_count()

void libMesh::ReferenceCounter::increment_constructor_count ( const std::string &  name)
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.

182 {
183  Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
184  std::pair<unsigned int, unsigned int> & p = _counts[name];
185 
186  p.first++;
187 }

References libMesh::ReferenceCounter::_counts, libMesh::Quality::name(), and libMesh::Threads::spin_mtx.

Referenced by libMesh::ReferenceCountedObject< RBParametrized >::ReferenceCountedObject().

◆ increment_destructor_count()

void libMesh::ReferenceCounter::increment_destructor_count ( const std::string &  name)
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.

195 {
196  Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
197  std::pair<unsigned int, unsigned int> & p = _counts[name];
198 
199  p.second++;
200 }

References libMesh::ReferenceCounter::_counts, libMesh::Quality::name(), and libMesh::Threads::spin_mtx.

Referenced by libMesh::ReferenceCountedObject< RBParametrized >::~ReferenceCountedObject().

◆ n_objects()

static unsigned int libMesh::ReferenceCounter::n_objects ( )
inlinestaticinherited

Prints the number of outstanding (created, but not yet destroyed) objects.

Definition at line 83 of file reference_counter.h.

84  { return _n_objects; }

References libMesh::ReferenceCounter::_n_objects.

◆ perform_A_boundary_assembly()

void RBAssemblyExpansion::perform_A_boundary_assembly ( unsigned int  q,
FEMContext context 
)
inherited

Perform the specified A boundary assembly.

Definition at line 45 of file rb_assembly_expansion.C.

47 {
48  if (q >= get_n_A_terms())
49  libmesh_error_msg("Error: We must have q < get_n_A_terms in perform_A_boundary_assembly.");
50 
52 
53  return _A_assembly_vector[q]->boundary_assembly( context );
54 }

References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::get_n_A_terms(), and libMesh::libmesh_assert().

◆ perform_A_interior_assembly()

void RBAssemblyExpansion::perform_A_interior_assembly ( unsigned int  q,
FEMContext context 
)
inherited

Perform the specified A interior assembly.

Definition at line 34 of file rb_assembly_expansion.C.

36 {
37  if (q >= get_n_A_terms())
38  libmesh_error_msg("Error: We must have q < get_n_A_terms in perform_A_interior_assembly.");
39 
41 
42  return _A_assembly_vector[q]->interior_assembly( context );
43 }

References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::get_n_A_terms(), and libMesh::libmesh_assert().

◆ perform_F_boundary_assembly()

void RBAssemblyExpansion::perform_F_boundary_assembly ( unsigned int  q,
FEMContext context 
)
inherited

Perform the specified F boundary assembly.

Definition at line 67 of file rb_assembly_expansion.C.

69 {
70  if (q >= get_n_F_terms())
71  libmesh_error_msg("Error: We must have q < get_n_F_terms in perform_F_interior_assembly.");
72 
74 
75  return _F_assembly_vector[q]->boundary_assembly( context );
76 }

References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::_F_assembly_vector, libMesh::RBAssemblyExpansion::get_n_F_terms(), and libMesh::libmesh_assert().

◆ perform_F_interior_assembly()

void RBAssemblyExpansion::perform_F_interior_assembly ( unsigned int  q,
FEMContext context 
)
inherited

Perform the specified F interior assembly.

Definition at line 56 of file rb_assembly_expansion.C.

58 {
59  if (q >= get_n_F_terms())
60  libmesh_error_msg("Error: We must have q < get_n_F_terms in perform_F_interior_assembly.");
61 
63 
64  return _F_assembly_vector[q]->interior_assembly( context );
65 }

References libMesh::RBAssemblyExpansion::_A_assembly_vector, libMesh::RBAssemblyExpansion::_F_assembly_vector, libMesh::RBAssemblyExpansion::get_n_F_terms(), and libMesh::libmesh_assert().

◆ perform_output_boundary_assembly()

void RBAssemblyExpansion::perform_output_boundary_assembly ( unsigned int  output_index,
unsigned int  q_l,
FEMContext context 
)
inherited

Perform the specified output assembly.

Definition at line 91 of file rb_assembly_expansion.C.

94 {
95  if ((output_index >= get_n_outputs()) || (q_l >= get_n_output_terms(output_index)))
96  libmesh_error_msg("Error: We must have output_index < n_outputs and " \
97  << "q_l < get_n_output_terms(output_index) in perform_output_boundary_assembly.");
98 
99  libmesh_assert(_output_assembly_vector[output_index][q_l]);
100 
101  return _output_assembly_vector[output_index][q_l]->boundary_assembly(context);
102 }

References libMesh::RBAssemblyExpansion::_output_assembly_vector, libMesh::RBAssemblyExpansion::get_n_output_terms(), libMesh::RBAssemblyExpansion::get_n_outputs(), and libMesh::libmesh_assert().

◆ perform_output_interior_assembly()

void RBAssemblyExpansion::perform_output_interior_assembly ( unsigned int  output_index,
unsigned int  q_l,
FEMContext context 
)
inherited

Perform the specified output assembly.

Definition at line 78 of file rb_assembly_expansion.C.

81 {
82  if ((output_index >= get_n_outputs()) || (q_l >= get_n_output_terms(output_index)))
83  libmesh_error_msg("Error: We must have output_index < n_outputs and " \
84  << "q_l < get_n_output_terms(output_index) in perform_output_interior_assembly.");
85 
86  libmesh_assert(_output_assembly_vector[output_index][q_l]);
87 
88  return _output_assembly_vector[output_index][q_l]->interior_assembly(context);
89 }

References libMesh::RBAssemblyExpansion::_output_assembly_vector, libMesh::RBAssemblyExpansion::get_n_output_terms(), libMesh::RBAssemblyExpansion::get_n_outputs(), and libMesh::libmesh_assert().

◆ print_info()

void libMesh::ReferenceCounter::print_info ( std::ostream &  out = libMesh::out)
staticinherited

Prints the reference information, by default to libMesh::out.

Definition at line 87 of file reference_counter.C.

88 {
90  out_stream << ReferenceCounter::get_info();
91 }

References libMesh::ReferenceCounter::_enable_print_counter, and libMesh::ReferenceCounter::get_info().

Member Data Documentation

◆ _A_assembly_vector

std::vector<ElemAssembly *> libMesh::RBAssemblyExpansion::_A_assembly_vector
privateinherited

◆ _counts

ReferenceCounter::Counts libMesh::ReferenceCounter::_counts
staticprotectedinherited

◆ _enable_print_counter

bool libMesh::ReferenceCounter::_enable_print_counter = true
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().

◆ _F_assembly_vector

std::vector<ElemAssembly *> libMesh::RBAssemblyExpansion::_F_assembly_vector
privateinherited

◆ _mutex

Threads::spin_mutex libMesh::ReferenceCounter::_mutex
staticprotectedinherited

Mutual exclusion object to enable thread-safe reference counting.

Definition at line 135 of file reference_counter.h.

◆ _n_objects

Threads::atomic< unsigned int > libMesh::ReferenceCounter::_n_objects
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().

◆ _output_assembly_vector

std::vector<std::vector<ElemAssembly *> > libMesh::RBAssemblyExpansion::_output_assembly_vector
privateinherited

◆ assembly_a0

AssemblyA0 Ex6AssemblyExpansion::assembly_a0

Definition at line 472 of file assembly.h.

Referenced by Ex6AssemblyExpansion().

◆ assembly_a1

AssemblyA1 Ex6AssemblyExpansion::assembly_a1

Definition at line 473 of file assembly.h.

Referenced by Ex6AssemblyExpansion().

◆ assembly_a2

AssemblyA2 Ex6AssemblyExpansion::assembly_a2

Definition at line 474 of file assembly.h.

Referenced by Ex6AssemblyExpansion().

◆ assembly_f0

AssemblyF0 Ex6AssemblyExpansion::assembly_f0

Definition at line 475 of file assembly.h.

Referenced by Ex6AssemblyExpansion().

◆ assembly_f1

AssemblyF1 Ex6AssemblyExpansion::assembly_f1

Definition at line 476 of file assembly.h.

Referenced by Ex6AssemblyExpansion().


The documentation for this struct was generated from the following file:
libMesh::RBAssemblyExpansion::attach_F_assembly
void attach_F_assembly(ElemAssembly *Fq_assembly)
Attach ElemAssembly object for the right-hand side (both interior and boundary assembly).
Definition: rb_assembly_expansion.C:142
Ex6AssemblyExpansion::assembly_a1
AssemblyA1 assembly_a1
Definition: assembly.h:473
libMesh::ReferenceCounter::_counts
static Counts _counts
Actually holds the data.
Definition: reference_counter.h:122
libMesh::ReferenceCounter::_n_objects
static Threads::atomic< unsigned int > _n_objects
The number of objects.
Definition: reference_counter.h:130
libMesh::RBAssemblyExpansion::get_n_output_terms
unsigned int get_n_output_terms(unsigned int output_index) const
Get the number of affine terms associated with the specified output.
Definition: rb_assembly_expansion.C:122
libMesh::ReferenceCounter::get_info
static std::string get_info()
Gets a string containing the reference information.
Definition: reference_counter.C:47
Ex6AssemblyExpansion::assembly_a2
AssemblyA2 assembly_a2
Definition: assembly.h:474
libMesh::libmesh_assert
libmesh_assert(ctx)
libMesh::Threads::spin_mtx
spin_mutex spin_mtx
A convenient spin mutex object which can be used for obtaining locks.
Definition: threads.C:29
libMesh::RBAssemblyExpansion::_F_assembly_vector
std::vector< ElemAssembly * > _F_assembly_vector
Vector storing the function pointers to the assembly routines for the rhs affine vectors.
Definition: rb_assembly_expansion.h:192
libMesh::RBAssemblyExpansion::get_n_F_terms
unsigned int get_n_F_terms() const
Get Q_f, the number of terms in the affine expansion for the right-hand side.
Definition: rb_assembly_expansion.C:110
libMesh::RBAssemblyExpansion::_output_assembly_vector
std::vector< std::vector< ElemAssembly * > > _output_assembly_vector
Vector storing the function pointers to the assembly routines for the outputs.
Definition: rb_assembly_expansion.h:198
libMesh::RBAssemblyExpansion::attach_A_assembly
void attach_A_assembly(ElemAssembly *Aq_assembly)
Attach ElemAssembly object for the left-hand side (both interior and boundary assembly).
Definition: rb_assembly_expansion.C:131
Ex6AssemblyExpansion::assembly_f1
AssemblyF1 assembly_f1
Definition: assembly.h:476
Ex6AssemblyExpansion::assembly_a0
AssemblyA0 assembly_a0
Definition: assembly.h:472
libMesh::RBAssemblyExpansion::_A_assembly_vector
std::vector< ElemAssembly * > _A_assembly_vector
Vectors storing the function pointers to the assembly routines for the affine operators,...
Definition: rb_assembly_expansion.h:186
ElemAssemblyWithConstruction::rb_con
RBConstruction * rb_con
Definition: assembly.h:48
libMesh::RBAssemblyExpansion::attach_output_assembly
virtual void attach_output_assembly(std::vector< std::unique_ptr< ElemAssembly >> &output_assembly)
Attach ElemAssembly object for an output (both interior and boundary assembly).
Definition: rb_assembly_expansion.C:153
libMesh::RBAssemblyExpansion::get_n_outputs
unsigned int get_n_outputs() const
Get n_outputs, the number output functionals.
Definition: rb_assembly_expansion.C:116
libMesh::ReferenceCounter::_enable_print_counter
static bool _enable_print_counter
Flag to control whether reference count information is printed when print_info is called.
Definition: reference_counter.h:141
libMesh::RBAssemblyExpansion::get_n_A_terms
unsigned int get_n_A_terms() const
Get Q_a, the number of terms in the affine expansion for the bilinear form.
Definition: rb_assembly_expansion.C:104
Ex6AssemblyExpansion::assembly_f0
AssemblyF0 assembly_f0
Definition: assembly.h:475
libMesh::Quality::name
std::string name(const ElemQuality q)
This function returns a string containing some name for q.
Definition: elem_quality.C:42