2 template <
int dim,
int degree>
26 void setInitialCondition(
const dealii::Point<dim> &p,
const unsigned int index,
double & scalar_IC, dealii::Vector<double> & vector_IC){};
29 void setNonUniformDirichletBCs(
const dealii::Point<dim> &p,
const unsigned int index,
const unsigned int direction,
const double time,
double & scalar_BC, dealii::Vector<double> & vector_BC){};
33 void getRHS(
const MatrixFree<dim,double> &data,
34 std::vector<vectorType*> &dst,
35 const std::vector<vectorType*> &src,
36 const std::pair<unsigned int,unsigned int> &cell_range)
const{};
40 dealii::Point<dim, dealii::VectorizedArray<double> > q_point_loc)
const {};
44 dealii::Point<dim, dealii::VectorizedArray<double> > q_point_loc)
const {};
48 dealii::Point<dim, dealii::VectorizedArray<double> > q_point_loc)
const {};
52 template <
int dim,
typename T>
56 std::cout <<
"\nTesting 'setRigidBodyModeConstraints' with " << rigidBodyModeComponents.size() <<
" component(s) needing a constraint...'" << std::endl;
60 unsigned int num_constraints;
64 unsigned int global_num_constraints = rigidBodyModeComponents.size();
65 Utilities::MPI::sum(global_num_constraints,MPI_COMM_WORLD);
68 if (global_num_constraints == rigidBodyModeComponents.size()){
73 sprintf (buffer,
"Test result for 'setRigidBodyModeConstraints' with %lu component(s) needing a constraint: %u\n", rigidBodyModeComponents.size(), pass);
void equationLHS(variableContainer< dim, degree, dealii::VectorizedArray< double > > &variable_list, dealii::Point< dim, dealii::VectorizedArray< double > > q_point_loc) const
void setRigidBodyModeConstraints(const std::vector< int >, ConstraintMatrix *, const DoFHandler< dim > *) const
void explicitEquationRHS(variableContainer< dim, degree, dealii::VectorizedArray< double > > &variable_list, dealii::Point< dim, dealii::VectorizedArray< double > > q_point_loc) const
setRigidBodyModeConstraintsTest(userInputParameters< dim > _userInputs)
bool test_setRigidBodyModeConstraints(std::vector< int >, userInputParameters< dim > userInputs)
MatrixFree< dim, double > matrixFreeObject
void nonExplicitEquationRHS(variableContainer< dim, degree, dealii::VectorizedArray< double > > &variable_list, dealii::Point< dim, dealii::VectorizedArray< double > > q_point_loc) const
std::vector< DoFHandler< dim > * > dofHandlersSet_nonconst
std::vector< ConstraintMatrix * > constraintsOtherSet_nonconst
~setRigidBodyModeConstraintsTest()
void getRHS(const MatrixFree< dim, double > &data, std::vector< vectorType *> &dst, const std::vector< vectorType *> &src, const std::pair< unsigned int, unsigned int > &cell_range) const
void setNonUniformDirichletBCs(const dealii::Point< dim > &p, const unsigned int index, const unsigned int direction, const double time, double &scalar_BC, dealii::Vector< double > &vector_BC)
void setInitialCondition(const dealii::Point< dim > &p, const unsigned int index, double &scalar_IC, dealii::Vector< double > &vector_IC)
void call_setRigidBodyModeConstraints(std::vector< int > rigidBodyModeComponents, unsigned int &num_constraints)