libMesh
|
Go to the source code of this file.
Functions | |
void | assemble_wave (EquationSystems &es, const std::string &system_name) |
void | apply_initial (EquationSystems &es, const std::string &system_name) |
void | fill_dirichlet_bc (EquationSystems &es, const std::string &system_name) |
int | main (int argc, char **argv) |
void apply_initial | ( | EquationSystems & | es, |
const std::string & | system_name | ||
) |
Definition at line 538 of file transient_ex2.C.
References libMesh::EquationSystems::get_system(), libMesh::System::get_vector(), and libMesh::NumericVector< T >::zero().
Referenced by main().
void assemble_wave | ( | EquationSystems & | es, |
const std::string & | system_name | ||
) |
Definition at line 318 of file transient_ex2.C.
References libMesh::SparseMatrix< T >::add_matrix(), libMesh::NumericVector< T >::add_vector(), libMesh::FEGenericBase< OutputType >::build(), dim, libMesh::DofMap::dof_indices(), libMesh::Parameters::get(), libMesh::EquationSystems::get_mesh(), libMesh::EquationSystems::get_system(), mesh, libMesh::MeshBase::mesh_dimension(), libMesh::QBase::n_points(), libMesh::EquationSystems::parameters, libMesh::Real, libMesh::DenseVector< T >::resize(), libMesh::DenseMatrix< T >::resize(), and libMesh::SECOND.
Referenced by main().
void fill_dirichlet_bc | ( | EquationSystems & | es, |
const std::string & | system_name | ||
) |
Definition at line 559 of file transient_ex2.C.
References std::abs(), libMesh::NumericVector< T >::add(), libMesh::DofObject::dof_number(), libMesh::Parameters::get(), libMesh::EquationSystems::get_mesh(), libMesh::EquationSystems::get_system(), libMesh::ImplicitSystem::matrix, mesh, n_nodes, libMesh::MeshBase::n_nodes(), libMesh::MeshBase::node_ref(), libMesh::EquationSystems::parameters, libMesh::pi, libMesh::Real, libMesh::ExplicitSystem::rhs, libMesh::System::time, and libMesh::TOLERANCE.
Referenced by main().
Definition at line 100 of file transient_ex2.C.
References libMesh::EquationSystems::add_system(), libMesh::System::add_variable(), apply_initial(), assemble_wave(), libMesh::default_solver_package(), libMesh::DofObject::dof_number(), libMesh::EIGEN_SOLVERS, fill_dirichlet_bc(), libMesh::FIRST, libMesh::EquationSystems::get_system(), libMesh::TriangleWrapper::init(), libMesh::EquationSystems::init(), libMesh::INVALID_SOLVER_PACKAGE, libMesh::NumericVector< T >::localize(), mesh, libMesh::MeshBase::node_ref(), libMesh::out, libMesh::EquationSystems::parameters, libMesh::PETSC_SOLVERS, libMesh::EquationSystems::print_info(), libMesh::MeshBase::print_info(), libMesh::MeshBase::read(), libMesh::Real, libMesh::Parameters::set(), libMesh::NumericVector< T >::size(), and libMesh::MeshOutput< MT >::write_equation_systems().