Data Structures | Namespaces | Functions

/export/development/ViennaFEM/viennafem/mapping.hpp File Reference

Sets up and handles the local-to-global map (handles degrees of freedom). More...

#include <vector>
#include "viennafem/forwards.h"
#include "viennagrid/forwards.h"
#include "viennagrid/domain.hpp"
#include "viennagrid/segment.hpp"
#include "viennagrid/iterators.hpp"

Go to the source code of this file.

Data Structures

struct  extract_domain< EntityType >
 If EntityType is a ViennaGrid segment, returns the domain. If EntityType is already the domain, no changes. More...
struct  extract_domain< viennagrid::segment_t< ConfigType > >
 Specialization of the domain extraction for a ViennaGrid segment. More...

Namespaces

namespace  viennafem
 

The main namespace for ViennaFEM. All user functionality resides in this namespace.


namespace  viennafem::detail
 

Contains implementation details of ViennaFEM not intended to be used by the library user directly.


Functions

template<typename SystemType , typename DomainType >
long create_mapping (SystemType &pde_system, DomainType &domain)
 Distributes mapping indices over domain or segment.
template<typename SystemType , typename CellType >
std::vector< long > mapping_indices (SystemType &pde_system, CellType const &cell, std::size_t pde_id=0)
 Returns an array of mapping indices for the provided cell.

Detailed Description

Sets up and handles the local-to-global map (handles degrees of freedom).