System::ProjectVector Class Reference
Public Member Functions | |
| ProjectVector (const System &system_in, const NumericVector< Number > &old_v_in, NumericVector< Number > &new_v_in) | |
| void | operator() (const ConstElemRange &range) const |
Private Attributes | |
| const System & | system |
| const NumericVector< Number > & | old_vector |
| NumericVector< Number > & | new_vector |
Detailed Description
This class implements projecting a vector from an old mesh to the newly refined mesh. This may be executed in parallel on multiple threads.Definition at line 1216 of file system.h.
Constructor & Destructor Documentation
| System::ProjectVector::ProjectVector | ( | const System & | system_in, | |
| const NumericVector< Number > & | old_v_in, | |||
| NumericVector< Number > & | new_v_in | |||
| ) | [inline] |
Definition at line 1224 of file system.h.
01226 : 01227 system(system_in), 01228 old_vector(old_v_in), 01229 new_vector(new_v_in) 01230 {}
Member Function Documentation
| void System::ProjectVector::operator() | ( | const ConstElemRange & | range | ) | const |
This method projects an analytic solution to the current mesh. The input function fptr gives the analytic solution, while the new_vector (which should already be correctly sized) gives the solution (to be computed) on the current mesh.
Definition at line 321 of file system_projection.C.
References StoredRange< iterator_type, object_type >::begin(), FEBase::build(), libMeshEnums::C_ONE, libMeshEnums::C_ZERO, DenseMatrix< T >::cholesky_solve(), FEBase::coarsened_dof_values(), FEType::default_quadrature_rule(), dim, libMeshEnums::DISCONTINUOUS, Elem::DO_NOTHING, DofMap::dof_indices(), FEInterface::dofs_on_edge(), FEInterface::dofs_on_side(), StoredRange< iterator_type, object_type >::end(), FEType::family, System::get_dof_map(), System::get_mesh(), Elem::has_children(), libMeshEnums::HERMITE, FEInterface::inverse_map(), Elem::is_vertex(), System::BuildProjectionList::join(), Elem::JUST_COARSENED, Elem::JUST_REFINED, libMeshEnums::LAGRANGE, MeshBase::mesh_dimension(), System::n_dofs(), FEInterface::n_dofs_at_node(), Elem::n_edges(), Elem::n_nodes(), n_nodes, Elem::n_sides(), System::n_vars(), System::name(), new_vector, DofMap::old_dof_indices(), old_vector, System::ProjectSolution::operator()(), System::BuildProjectionList::operator()(), FEType::order, Elem::p_level(), Elem::p_refinement_flag(), Elem::parent(), Elem::point(), Elem::refinement_flag(), DenseMatrix< T >::resize(), DenseVector< T >::resize(), libMeshEnums::SCALAR, System::BuildProjectionList::send_list, FEInterface::shape(), Threads::spin_mtx, system, Elem::type(), System::Variable::type(), System::BuildProjectionList::unique(), DofMap::variable(), System::variable_name(), DofMap::variable_type(), libMesh::zero, DenseMatrix< T >::zero(), and DenseVector< T >::zero().
Member Data Documentation
NumericVector<Number>& System::ProjectVector::new_vector [private] |
const NumericVector<Number>& System::ProjectVector::old_vector [private] |
const System& System::ProjectVector::system [private] |
The documentation for this class was generated from the following files: