IFEM 90A354
ASMs3DSpec.h
Go to the documentation of this file.
1// $Id$
2//==============================================================================
12//==============================================================================
13
14#ifndef _ASM_S3D_SPEC_H
15#define _ASM_S3D_SPEC_H
16
17#include "ASMs3DLag.h"
18
19
25class ASMs3DSpec : public ASMs3DLag
26{
27public:
29 explicit ASMs3DSpec(unsigned char n_f = 3) : ASMs3DLag(n_f) {}
31 ASMs3DSpec(const ASMs3DSpec& patch, unsigned char n_f = 0)
32 : ASMs3DLag(patch,n_f) {}
34 virtual ~ASMs3DSpec() {}
35
36
37 // Methods for integration of finite element quantities.
38 // These are the main computational methods of the ASM class hierarchy.
39 // ====================================================================
40
45 virtual bool integrate(Integrand& integrand,
46 GlobalIntegral& glbInt, const TimeDomain& time);
47
53 virtual bool integrate(Integrand& integrand, int lIndex,
54 GlobalIntegral& glbInt, const TimeDomain& time);
55
61 virtual bool integrateEdge(Integrand& integrand, int lEdge,
62 GlobalIntegral& glbInt, const TimeDomain& time);
63
64
65 // Post-processing methods
66 // =======================
67
72 virtual bool evalSolution(Matrix& sField, const IntegrandBase& integrand,
73 const RealArray*, bool) const;
74
75protected:
76
77 // Internal utility methods
78 // ========================
79
89 virtual bool getGridParameters(RealArray& prm, int dir, int nSegSpan) const;
90};
91
92#endif
Driver for assembly of structured 3D Lagrange FE models.
std::vector< Real > RealArray
A real-valued array without algebraic operations.
Definition ImmersedBoundaries.h:32
Driver for assembly of structured 3D Lagrange FE models.
Definition ASMs3DLag.h:27
virtual bool evalSolution(Matrix &sField, const Vector &locSol, const int *, int n_f, bool) const
Evaluates the primary solution field at all visualization points.
Definition ASMs3DLag.C:943
Driver for assembly of structured 3D Spectral FE models.
Definition ASMs3DSpec.h:26
virtual bool integrate(Integrand &integrand, GlobalIntegral &glbInt, const TimeDomain &time)
Evaluates an integral over the interior patch domain.
Definition ASMs3DSpec.C:82
virtual bool getGridParameters(RealArray &prm, int dir, int nSegSpan) const
Calculates parameter values for all visualization nodal points.
Definition ASMs3DSpec.C:28
virtual bool evalSolution(Matrix &sField, const IntegrandBase &integrand, const RealArray *, bool) const
Evaluates the secondary solution field at the given points.
Definition ASMs3DSpec.C:419
ASMs3DSpec(unsigned char n_f=3)
Default constructor.
Definition ASMs3DSpec.h:29
virtual ~ASMs3DSpec()
Empty destructor.
Definition ASMs3DSpec.h:34
ASMs3DSpec(const ASMs3DSpec &patch, unsigned char n_f=0)
Copy constructor.
Definition ASMs3DSpec.h:31
virtual bool integrateEdge(Integrand &integrand, int lEdge, GlobalIntegral &glbInt, const TimeDomain &time)
Evaluates a boundary integral over a patch edge.
Definition ASMs3DSpec.C:291
Abstract base class representing a system level integrated quantity.
Definition GlobalIntegral.h:29
Base class representing a system level integrated quantity.
Definition IntegrandBase.h:42
Abstract base class representing a system level integrated quantity.
Definition Integrand.h:44
Struct representing the time domain.
Definition TimeDomain.h:23