#define __deal2__block_info_h
#include <base/subscriptor.h>
+#include <base/memory_consumption.h>
#include <lac/block_indices.h>
DEAL_II_NAMESPACE_OPEN
*/
template <int dim, int spacedim>
void initialize(const DoFHandler<dim, spacedim>&);
-
+
/**
* @brief Fill the object with values
* describing level block
*/
template <int dim, int spacedim>
void initialize(const MGDoFHandler<dim, spacedim>&, bool levels_only = false);
-
+
/**
* @brief Initialize block structure
* on cells and compute
*/
template <int dim, int spacedim>
void initialize_local(const DoFHandler<dim, spacedim>&);
-
+
/**
* Access the BlockIndices
* structure of the global
* system.
*/
const BlockIndices& global() const;
-
+
/**
* Access BlockIndices for the
* local system on a cell.
*/
const BlockIndices& local() const;
-
+
/**
* Access the BlockIndices
* structure of a level in the
* The number of base elements.
*/
unsigned int n_base_elements() const;
-
+
/**
* Return the base element of
* this index.
*/
unsigned int base_element(unsigned int i) const;
-
+
/**
* Determine an estimate for the
* memory consumption (in bytes)
* @brief The multilevel block structure.
*/
std::vector<BlockIndices> levels;
-
+
/**
* @brief The block structure
* of the cell systems.
*/
BlockIndices bi_local;
-
+
/**
* The base element associated
* with each block.
*/
std::vector<unsigned int> base_elements;
-
+
/**
* A vector containing the
* renumbering from the
+inline
+unsigned int
+BlockInfo::memory_consumption () const
+{
+ unsigned int mem = (MemoryConsumption::memory_consumption (bi_global) +
+ MemoryConsumption::memory_consumption (levels) +
+ MemoryConsumption::memory_consumption (bi_local) +
+ MemoryConsumption::memory_consumption (base_elements)
+ );
+
+ return mem;
+}
+
+
DEAL_II_NAMESPACE_CLOSE
#endif
//---------------------------------------------------------------------------
-#include <base/memory_consumption.h>
#include <dofs/block_info.h>
#include <dofs/dof_handler.h>
#include <dofs/dof_tools.h>
}
-unsigned int
-BlockInfo::memory_consumption () const
-{
- unsigned int mem = (MemoryConsumption::memory_consumption (bi_global) +
- MemoryConsumption::memory_consumption (levels) +
- MemoryConsumption::memory_consumption (bi_local) +
- MemoryConsumption::memory_consumption (base_elements)
- );
-
- return mem;
-}
-
-
-
template void BlockInfo::initialize(const DoFHandler<deal_II_dimension,deal_II_dimension>&);
template void BlockInfo::initialize(const MGDoFHandler<deal_II_dimension,deal_II_dimension>&, bool);
template void BlockInfo::initialize_local(const DoFHandler<deal_II_dimension,deal_II_dimension>&);
<h3>General</h3>
<ol>
+ <li>
+ <p>Fixed: Linking with more than one of the deal.II 1d, 2d, or 3d libraries
+ when using static libraries did not work. This is now fixed. However, due to
+ GCC bug <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10591"
+ target="_top">10591</a>, GCC versions prior to and including 4.1.x will
+ still not work.
+ <br>
+ (WB 2010/07/01)
+ </p>
+
<li>
<p>Fixed: GCC version 4.0.1 had a bug that prevented it from compiling
release 6.3.0 because it apparently had an infinite loop allocating
this GCC version in their Xcode environment.
<br>
(WB 2010/06/30)
- </p>
+ </p>
<li>
<p>Fixed: Configuring with an external BOOST version did not work when
to another configure test. This is now fixed.
<br>
(Bradley Froehle 2010/06/29)
- </p>
+ </p>
</ol>
10.0. This is now fixed.
<br>
(Martin Kronbichler, WB 2010/06/28)
- </p>
+ </p>
</ol>
This is now fixed.
<br>
(WB 2010/06/28)
- </p>
+ </p>
</ol>