Computes the surface of different cell types as well as domains and segments. More...
#include <iostream>
#include <sstream>
#include <string>
#include <stdexcept>
#include "viennagrid/forwards.h"
#include "viennagrid/algorithm/volume.hpp"
#include "viennagrid/algorithm/boundary.hpp"
Go to the source code of this file.
Namespaces | |
namespace | viennagrid |
The main ViennaGrid namespace. Most functionality resides in this namespace. | |
namespace | viennagrid::detail |
The namespace holding the implementations of domains, segments and ncells as well as some algorithm implementations. Not of interest for library users. | |
Functions | |
template<typename ContainerType > | |
ContainerType::config_type::numeric_type | surface_domainsegment (ContainerType const &d) |
Implementation for the calculation of the surface of a domain or segment. | |
template<typename ElementType > | |
ElementType::config_type::numeric_type | surface (ElementType const &element) |
Returns the surface of a n-cell. | |
template<typename ConfigType > | |
ConfigType::numeric_type | surface (domain_t< ConfigType > const &d) |
Returns the surface of a domain. | |
template<typename ConfigType > | |
ConfigType::numeric_type | surface (segment_t< ConfigType > const &d) |
Returns the surface of a segment. |
Computes the surface of different cell types as well as domains and segments.