11#ifndef __FEMFIELDS_HPP
12#define __FEMFIELDS_HPP
15#include <eagle/PhysicalSpace.hpp>
16#include "gridtypesDllApi.h"
17#include <grid/Grid.hpp>
35 , m_field_name( field_name )
168template<
class T>
void initValues( T&
foo);
197 assert(v_cells_as_vertices);
234 assert(i_cells_as_vertices);
259 for(
size_t i = 0; i <
one_vcell.size(); i++ )
270 for(
size_t i = 0; i <
one_vcell.size(); i++ )
278 for(
size_t j = 0; j <
one_icell.size(); j++ )
282 double weight = FEMFunc::getC3D20GaussWeight(j, i);
293 for(
size_t i = 0; i <
one_vcell.size(); i++ )
302 for(
size_t j = 0; j <
one_icell.size(); j++ )
306 double weight = FEMFunc::getC3D8GaussWeight(j, i);
352 weight = FEMFunc::getC3D20GaussWeight(i, v);
354 weight = FEMFunc::getC3D8GaussWeight(i, v);
358 weight = FEMFunc::getC3D20RGaussWeight(i, v);
362 assert( 0 &&
"unsupported element type" );
381 RefPtr<ResultArray_t> result()
const
413 assert(v_cells_as_vertices);
453 assert(i_cells_as_vertices);
490 weight = FEMFunc::getC3D20GaussWeight(i, v);
492 weight = FEMFunc::getC3D8GaussWeight(i, v);
496 weight = FEMFunc::getC3D20RGaussWeight(i, v);
500 assert( 0 &&
"unsupported element type" );
524 RefPtr<ResultArray_t> result()
const
valarray< size_t > size() const
basic_ostream< _CharT, _Traits > & endl(basic_ostream< _CharT, _Traits > &__os)
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
Definition FEMFields.hpp:177
AverageField(const FEMOperatorData &FEMData, const MemBase::Creator_t &C=MemCore::NullPtr())
Definition FEMFields.hpp:186
Creator for a vector field pointing from the cell centers of the strong neighbors to the center of th...
Definition FEMFields.hpp:615
CellDirectionsFixed(const FEMOperatorData &FEMData, const MemBase::Creator_t &C=MemCore::NullPtr())
Creator for a vector field pointing from the cell centers of the weak neighbors to the center of the ...
Definition FEMFields.hpp:571
Creator for computing strong neighbors and stores them as a fixed array of cell indices per cells in ...
Definition FEMFields.hpp:595
Creator for computing weak neighbors and stores them as a std::vector of cell indices per cells in a ...
Definition FEMFields.hpp:552
Definition FEMFields.hpp:390
ComputeCellField(const FEMOperatorData &FEMData, const MemBase::Creator_t &C=MemCore::NullPtr())
Definition FEMFields.hpp:399
Definition FEMFields.hpp:153
Definition FEMFields.hpp:137
Definition FEMFields.hpp:25
Definition FEMFields.hpp:42
Definition FEMFields.hpp:73
Definition FEMFields.hpp:89
Definition FEMFields.hpp:105
Definition FEMFields.hpp:56
Definition FEMFields.hpp:121
Definition FEMFields.hpp:531