libMesh
|
Go to the source code of this file.
Typedefs | |
typedef MatrixXcd | EigenMatrix |
typedef VectorXcd | EigenVector |
Functions | |
void | fe_assembly (EquationSystems &es, bool global_solve) |
void | assemble_hdg (EquationSystems &es, const std::string &system_name) |
void | alternative_fe_assembly (EquationSystems &es, bool global_solve) |
void | alternative_assemble_hdg (EquationSystems &es, const std::string &system_name) |
int | main (int argc, char **argv) |
template<typename SolnType , typename PhiType , typename LocalSolutionVector > | |
void | compute_qp_soln (std::vector< SolnType > &qp_vec, const unsigned int n_qps, const std::vector< std::vector< PhiType >> &phi, const LocalSolutionVector &soln) |
void | compute_enriched_soln (const MeshBase &mesh, const DofMap &dof_map, System &system, const Elem *const elem, const EigenVector &vector_soln, const EigenVector &scalar_soln, const EigenVector &Lambda, FEVectorBase &vector_fe, FEVectorBase &vector_fe_face, FEBase &scalar_fe, FEBase &scalar_fe_face, FEBase &lambda_fe_face, QBase &qrule, QBase &qface) |
void | assemble_hdg (EquationSystems &es, const std::string &libmesh_dbg_var(system_name)) |
Real | compute_tau (const bool internal_face, bool &tau_found, const Elem *const elem) |
void | alternative_assemble_hdg (EquationSystems &es, const std::string &libmesh_dbg_var(system_name)) |
int | main () |
typedef MatrixXd EigenMatrix |
Definition at line 80 of file vector_fe_ex8.C.
typedef VectorXd EigenVector |
Definition at line 81 of file vector_fe_ex8.C.
void alternative_assemble_hdg | ( | EquationSystems & | es, |
const std::string & | system_name | ||
) |
Referenced by main().
void alternative_assemble_hdg | ( | EquationSystems & | es, |
const std::string & | libmesh_dbg_varsystem_name | ||
) |
Definition at line 1264 of file vector_fe_ex8.C.
References alternative_fe_assembly().
void alternative_fe_assembly | ( | EquationSystems & | es, |
bool | global_solve | ||
) |
Definition at line 833 of file vector_fe_ex8.C.
References libMesh::System::add_matrix(), libMesh::System::add_vector(), libMesh::FEGenericBase< OutputType >::build(), compute_enriched_soln(), libMesh::compute_qp_soln(), compute_tau(), libMesh::System::current_local_solution, libMesh::FEType::default_quadrature_order(), dim, libMesh::FEInterface::dofs_on_side(), MixedExactSolution::forcing(), libMesh::System::get_dof_map(), libMesh::EquationSystems::get_mesh(), libMesh::EquationSystems::get_system(), libMesh::invalid_uint, libMesh::make_range(), mesh, libMesh::MeshBase::mesh_dimension(), libMesh::Real, libMesh::System::reinit(), libMesh::DenseVector< T >::resize(), libMesh::DenseMatrix< T >::resize(), MixedExactSolution::scalar(), libMesh::System::variable_number(), and libMesh::System::variable_type().
Referenced by alternative_assemble_hdg(), and main().
void assemble_hdg | ( | EquationSystems & | es, |
const std::string & | system_name | ||
) |
Referenced by main().
void assemble_hdg | ( | EquationSystems & | es, |
const std::string & | libmesh_dbg_varsystem_name | ||
) |
void compute_enriched_soln | ( | const MeshBase & | mesh, |
const DofMap & | dof_map, | ||
System & | system, | ||
const Elem *const | elem, | ||
const EigenVector & | vector_soln, | ||
const EigenVector & | scalar_soln, | ||
const EigenVector & | Lambda, | ||
FEVectorBase & | vector_fe, | ||
FEVectorBase & | vector_fe_face, | ||
FEBase & | scalar_fe, | ||
FEBase & | scalar_fe_face, | ||
FEBase & | lambda_fe_face, | ||
QBase & | qrule, | ||
QBase & | qface | ||
) |
Definition at line 291 of file vector_fe_ex8.C.
References libMesh::FEGenericBase< OutputType >::build(), libMesh::compute_qp_soln(), dim, libMesh::DofMap::dof_indices(), MixedExactSolution::forcing(), libMesh::FEAbstract::get_JxW(), libMesh::FEAbstract::get_normals(), libMesh::FEGenericBase< OutputType >::get_phi(), libMesh::FEAbstract::get_xyz(), libMesh::Elem::hmin(), libMesh::DenseMatrix< T >::lu_solve(), libMesh::make_range(), mesh, libMesh::MeshBase::mesh_dimension(), libMesh::QBase::n_points(), libMesh::Elem::neighbor_ptr(), libMesh::Real, libMesh::FEAbstract::reinit(), libMesh::DenseVector< T >::resize(), libMesh::DenseMatrix< T >::resize(), libMesh::Elem::side_index_range(), libMesh::System::solution, libMesh::System::variable_number(), and libMesh::DofMap::variable_type().
Referenced by alternative_fe_assembly(), and fe_assembly().
void compute_qp_soln | ( | std::vector< SolnType > & | qp_vec, |
const unsigned int | n_qps, | ||
const std::vector< std::vector< PhiType >> & | phi, | ||
const LocalSolutionVector & | soln | ||
) |
Definition at line 271 of file vector_fe_ex8.C.
References libMesh::index_range(), libMesh::libmesh_assert(), and libMesh::make_range().
Real compute_tau | ( | const bool | internal_face, |
bool & | tau_found, | ||
const Elem *const | elem | ||
) |
Definition at line 813 of file vector_fe_ex8.C.
References libMesh::Elem::hmin().
Referenced by alternative_fe_assembly().
void fe_assembly | ( | EquationSystems & | es, |
bool | global_solve | ||
) |
Definition at line 464 of file vector_fe_ex8.C.
References libMesh::SparseMatrix< T >::add_matrix(), libMesh::System::add_vector(), libMesh::FEGenericBase< OutputType >::build(), compute_enriched_soln(), libMesh::System::current_local_solution, libMesh::FEType::default_quadrature_order(), dim, MixedExactSolution::forcing(), libMesh::System::get_dof_map(), libMesh::EquationSystems::get_mesh(), libMesh::EquationSystems::get_system(), libMesh::libmesh_assert(), libMesh::make_range(), mesh, libMesh::MeshBase::mesh_dimension(), libMesh::Real, libMesh::LinearImplicitSystem::reinit(), libMesh::DenseVector< T >::resize(), libMesh::DenseMatrix< T >::resize(), MixedExactSolution::scalar(), libMesh::System::variable_number(), and libMesh::System::variable_type().
Referenced by assemble_hdg(), and main().
Definition at line 93 of file vector_fe_ex8.C.
References libMesh::EquationSystems::add_system(), libMesh::System::add_variable(), alternative_assemble_hdg(), alternative_fe_assembly(), assemble_hdg(), libMesh::System::attach_assemble_function(), libMesh::ExactSolution::attach_exact_derivs(), libMesh::ExactSolution::attach_exact_values(), libMesh::MeshTools::Generation::build_cube(), libMesh::MeshTools::Generation::build_square(), libMesh::ExactSolution::compute_error(), libMesh::default_solver_package(), libMesh::ExactSolution::extra_quadrature_order(), fe_assembly(), libMesh::TriangleWrapper::init(), libMesh::EquationSystems::init(), libMesh::INVALID_SOLVER_PACKAGE, libMesh::ExactSolution::l2_error(), mesh, libMesh::out, libMesh::MeshTools::Modification::permute_elements(), libMesh::SIDE_HIERARCHIC, libMesh::System::solve(), and libMesh::ExodusII_IO::write_equation_systems().
int main | ( | ) |
Definition at line 1273 of file vector_fe_ex8.C.