Commit a8e5a374 authored by Nils Kohl's avatar Nils Kohl 🌝
Browse files

And another msvc fix...

parent efdc8b88
Pipeline #38950 failed with stages
in 118 minutes and 51 seconds
......@@ -59,11 +59,23 @@ class DGFunction final : public Function< DGFunction< ValueType > >
uint_t initialPolyDegree,
BoundaryCondition boundaryCondition = BoundaryCondition::create0123BC() );
void multElementwise( const std::vector< std::reference_wrapper< const DGFunction< ValueType > > >& functions,
uint_t level,
DoFType flag = All ) const
{
WALBERLA_UNUSED( functions );
WALBERLA_UNUSED( level );
WALBERLA_UNUSED( flag );
WALBERLA_ABORT( "Not implemented." );
}
/// \brief Assigns a linear combination of multiple VolumeDoFFunctions to this.
void assign( const std::vector< ValueType >& scalars,
const std::vector< std::reference_wrapper< const DGFunction< ValueType > > >& functions,
uint_t level )
uint_t level,
DoFType flag = All )
{
WALBERLA_UNUSED( flag );
std::vector< std::reference_wrapper< const VolumeDoFFunction< ValueType > > > vFunctions;
for ( const auto& f : functions )
{
......@@ -75,14 +87,16 @@ class DGFunction final : public Function< DGFunction< ValueType > >
/// \brief Evaluates the dot product on all local DoFs. No communication is involved and the results may be different on each
/// process.
ValueType dotLocal( const DGFunction< ValueType >& rhs, uint_t level ) const
ValueType dotLocal( const DGFunction< ValueType >& rhs, uint_t level, DoFType flag = All ) const
{
WALBERLA_UNUSED( flag );
return volumeDoFFunction_->dotLocal( *rhs.volumeDoFFunction_, level );
}
/// \brief Evaluates the (global) dot product. Involves communication and has to be called collectively.
ValueType dotGlobal( const DGFunction< ValueType >& rhs, uint_t level ) const
ValueType dotGlobal( const DGFunction< ValueType >& rhs, uint_t level, DoFType flag = All ) const
{
WALBERLA_UNUSED( flag );
return volumeDoFFunction_->dotGlobal( *rhs.volumeDoFFunction_, level );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment