*/
template <int dim, int spacedim>
void project_compute_b_v (const Mapping<dim, spacedim> &mapping,
- const DoFHandler<dim,spacedim> &dof,
- const Function<spacedim> &function,
- const bool enforce_zero_boundary,
- const Quadrature<dim-1> &q_boundary,
- const bool project_to_boundary_first,
- std::map<types::global_dof_index,double> &boundary_values)
+ const DoFHandler<dim,spacedim> &dof,
+ const Function<spacedim> &function,
+ const bool enforce_zero_boundary,
+ const Quadrature<dim-1> &q_boundary,
+ const bool project_to_boundary_first,
+ std::map<types::global_dof_index,double> &boundary_values)
{
if (enforce_zero_boundary == true)
// no need to project boundary
* freedom that is already constrained to something else
*/
bool constraints_and_b_v_are_compatible (const ConstraintMatrix &constraints,
- std::map<types::global_dof_index,double> &boundary_values)
+ std::map<types::global_dof_index,double> &boundary_values)
{
for (std::map<types::global_dof_index,double>::iterator it=boundary_values.begin();
it != boundary_values.end(); ++it)
// check if constraints are compatible (see below)
const bool constraints_are_compatible =
- constraints_and_b_v_are_compatible(constraints, boundary_values);
+ constraints_and_b_v_are_compatible(constraints, boundary_values);
// set up mass matrix and right hand side
Vector<double> vec (dof.n_dofs());
TimerOutput::TimerOutput (std::ostream &stream,
const enum OutputFrequency output_frequency,
const enum OutputType output_type)
-:
-output_frequency (output_frequency),
- output_type (output_type),
- out_stream (stream, true),
- output_is_enabled (true)
+ :
+ output_frequency (output_frequency),
+ output_type (output_type),
+ out_stream (stream, true),
+ output_is_enabled (true)
#ifdef DEAL_II_WITH_MPI
- , mpi_communicator (MPI_COMM_SELF)
+ , mpi_communicator (MPI_COMM_SELF)
#endif
{}
TimerOutput::TimerOutput (ConditionalOStream &stream,
const enum OutputFrequency output_frequency,
const enum OutputType output_type)
-:
-output_frequency (output_frequency),
-output_type (output_type),
-out_stream (stream),
-output_is_enabled (true)
+ :
+ output_frequency (output_frequency),
+ output_type (output_type),
+ out_stream (stream),
+ output_is_enabled (true)
#ifdef DEAL_II_WITH_MPI
-, mpi_communicator (MPI_COMM_SELF)
+ , mpi_communicator (MPI_COMM_SELF)
#endif
{}
std::ostream &stream,
const enum OutputFrequency output_frequency,
const enum OutputType output_type)
-:
-output_frequency (output_frequency),
-output_type (output_type),
-out_stream (stream, true),
-output_is_enabled (true),
-mpi_communicator (mpi_communicator)
+ :
+ output_frequency (output_frequency),
+ output_type (output_type),
+ out_stream (stream, true),
+ output_is_enabled (true),
+ mpi_communicator (mpi_communicator)
{}
ConditionalOStream &stream,
const enum OutputFrequency output_frequency,
const enum OutputType output_type)
-:
-output_frequency (output_frequency),
-output_type (output_type),
-out_stream (stream),
-output_is_enabled (true),
-mpi_communicator (mpi_communicator)
+ :
+ output_frequency (output_frequency),
+ output_type (output_type),
+ out_stream (stream),
+ output_is_enabled (true),
+ mpi_communicator (mpi_communicator)
{}
#endif