PRISMS-PF Manual v3.0-pre
Loading...
Searching...
No Matches
OrderParameterRemapper.h
1#ifndef INCLUDE_ORDERPARAMETERREMAPPER_H_
2#define INCLUDE_ORDERPARAMETERREMAPPER_H_
3
4#include <deal.II/dofs/dof_handler.h>
5#include <deal.II/lac/la_parallel_vector.h>
6
7#include <grains/SimplifiedGrainRepresentation.h>
8#include <vector>
9
14template <int dim>
16{
17public:
23 void
24 remap(
25 std::vector<SimplifiedGrainRepresentation<dim>> &grain_representations,
26 std::vector<dealii::LinearAlgebra::distributed::Vector<double> *> &solution_fields,
27 dealii::DoFHandler<dim> &dof_handler,
28 unsigned int dofs_per_cell);
29
35 void
37 std::vector<SimplifiedGrainRepresentation<dim>> &grain_representations,
38 const dealii::LinearAlgebra::distributed::Vector<double> *grain_index_field,
39 std::vector<dealii::LinearAlgebra::distributed::Vector<double> *> &solution_fields,
40 dealii::DoFHandler<dim> &dof_handler,
41 unsigned int dofs_per_cell);
42
43protected:
44};
45
46#endif
Definition OrderParameterRemapper.h:16
void remap_from_index_field(std::vector< SimplifiedGrainRepresentation< dim > > &grain_representations, const dealii::LinearAlgebra::distributed::Vector< double > *grain_index_field, std::vector< dealii::LinearAlgebra::distributed::Vector< double > * > &solution_fields, dealii::DoFHandler< dim > &dof_handler, unsigned int dofs_per_cell)
Definition OrderParameterRemapper.cc:109
void remap(std::vector< SimplifiedGrainRepresentation< dim > > &grain_representations, std::vector< dealii::LinearAlgebra::distributed::Vector< double > * > &solution_fields, dealii::DoFHandler< dim > &dof_handler, unsigned int dofs_per_cell)
Definition OrderParameterRemapper.cc:5
Definition SimplifiedGrainRepresentation.h:15