Skip to content

Commit

Permalink
Remove explicit instantiation of template for function used in file
Browse files Browse the repository at this point in the history
  • Loading branch information
acdaigneault committed Aug 8, 2024
1 parent 5e49cab commit dc17ca9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 71 deletions.
10 changes: 0 additions & 10 deletions include/dem/find_cell_neighbors.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@

using namespace dealii;

/**
* @brief Finds the neighbors lists of all the active cells in the input triangulation.
* find_cell_neighbors() is written to avoid any repetition, for instance if
* cell B is recognized as the neighbor of cell A once, cell A will not appear
* in the neighbor list of cell B again. On the other hand,
* find_full_cell_neighbors() function finds the neighbors list with this
* repetition.
*/

/**
* @brief Finds the neighbor list (without repetition) of all the active
* cells in the triangulation. It gets the vertices of the cells to get lists
Expand Down Expand Up @@ -117,7 +108,6 @@ find_full_cell_neighbors(
typename DEM::dem_data_structures<dim>::cells_total_neighbor_list
&cells_total_neighbor_list);


/**
* @brief Generate a periodic neighbor cells list of the cell. With the
* coinciding_vertex_groups and the vertex_to_coinciding_vertex_group, we can
Expand Down
21 changes: 0 additions & 21 deletions source/dem/find_cell_neighbors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ find_cell_periodic_neighbors<3>(
typename dem_data_structures<3>::cells_neighbor_list
&cells_ghost_local_periodic_neighbor_list);


template void
find_full_cell_neighbors<2>(
const parallel::distributed::Triangulation<2> &triangulation,
Expand All @@ -403,23 +402,3 @@ find_full_cell_neighbors<3>(
const parallel::distributed::Triangulation<3> &triangulation,
typename dem_data_structures<3>::cells_total_neighbor_list
&cells_total_neighbor_list);

template void
get_periodic_neighbor_list<2>(
const typename Triangulation<2>::active_cell_iterator &cell,
const std::map<unsigned int, std::vector<unsigned int>>
&coinciding_vertex_groups,
const std::map<unsigned int, unsigned int> &vertex_to_coinciding_vertex_group,
const std::vector<std::set<typename Triangulation<2>::active_cell_iterator>>
&v_to_c,
typename dem_data_structures<2>::cell_vector &periodic_neighbor_list);

template void
get_periodic_neighbor_list<3>(
const typename Triangulation<3>::active_cell_iterator &cell,
const std::map<unsigned int, std::vector<unsigned int>>
&coinciding_vertex_groups,
const std::map<unsigned int, unsigned int> &vertex_to_coinciding_vertex_group,
const std::vector<std::set<typename Triangulation<3>::active_cell_iterator>>
&v_to_c,
typename dem_data_structures<3>::cell_vector &periodic_neighbor_list);
40 changes: 0 additions & 40 deletions source/dem/lagrangian_post_processing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,43 +277,3 @@ write_post_processing_results<3>(
const unsigned int step_number,
const MPI_Comm &mpi_communicator,
AdaptiveSparseContacts<3> &sparse_contacts_object);

template void
calculate_average_particles_velocity<2>(
const parallel::distributed::Triangulation<2> &triangulation,
const Particles::ParticleHandler<2> &particle_handler,
Vector<double> &velocity_average_x,
Vector<double> &velocity_average_y,
Vector<double> &velocity_average_z,
Vector<double> &velocity_average_magnitude);

template void
calculate_average_particles_velocity<3>(
const parallel::distributed::Triangulation<3> &triangulation,
const Particles::ParticleHandler<3> &particle_handler,
Vector<double> &velocity_average_x,
Vector<double> &velocity_average_y,
Vector<double> &velocity_average_z,
Vector<double> &velocity_average_magnitude);

template void
calculate_average_granular_temperature<2>(
const parallel::distributed::Triangulation<2> &triangulation,
const Particles::ParticleHandler<2> &particle_handler,
Vector<double> &granular_temperature_average);

template void
calculate_average_granular_temperature<3>(
const parallel::distributed::Triangulation<3> &triangulation,
const Particles::ParticleHandler<3> &particle_handler,
Vector<double> &granular_temperature_average);

template Tensor<1, 2>
calculate_cell_average_particles_velocity<2>(
const typename parallel::distributed::Triangulation<2>::cell_iterator &cell,
const Particles::ParticleHandler<2> &particle_handler);

template Tensor<1, 3>
calculate_cell_average_particles_velocity<3>(
const typename parallel::distributed::Triangulation<3>::cell_iterator &cell,
const Particles::ParticleHandler<3> &particle_handler);

0 comments on commit dc17ca9

Please sign in to comment.