IFEM 90A354
ASMs2DSpec.h
Go to the documentation of this file.
1// $Id$
2//==============================================================================
12//==============================================================================
13
14#ifndef _ASM_S2D_SPEC_H
15#define _ASM_S2D_SPEC_H
16
17#include "ASMs2DLag.h"
18
19
25class ASMs2DSpec : public ASMs2DLag
26{
27public:
29 ASMs2DSpec(unsigned char n_s = 2, unsigned char n_f = 2)
30 : ASMs2DLag(n_s,n_f) {}
32 ASMs2DSpec(const ASMs2DSpec& patch, unsigned char n_f = 0)
33 : ASMs2DLag(patch,n_f) {}
35 virtual ~ASMs2DSpec() {}
36
37
38 // Methods for integration of finite element quantities.
39 // These are the main computational methods of the ASM class hierarchy.
40 // ====================================================================
41
46 virtual bool integrate(Integrand& integrand,
47 GlobalIntegral& glbInt, const TimeDomain& time);
48
54 virtual bool integrate(Integrand& integrand, int lIndex,
55 GlobalIntegral& glbInt, const TimeDomain& time);
56
57
58 // Post-processing methods
59 // =======================
60
65 virtual bool evalSolution(Matrix& sField, const IntegrandBase& integrand,
66 const RealArray*, bool) const;
67
68protected:
69
70 // Internal utility methods
71 // ========================
72
82 virtual bool getGridParameters(RealArray& prm, int dir, int nSegSpan) const;
83};
84
85#endif
Driver for assembly of structured 2D Lagrange FE models.
std::vector< Real > RealArray
A real-valued array without algebraic operations.
Definition ImmersedBoundaries.h:32
Driver for assembly of structured 2D Lagrange FE models.
Definition ASMs2DLag.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 ASMs2DLag.C:730
Driver for assembly of structured 2D Spectral FE models.
Definition ASMs2DSpec.h:26
ASMs2DSpec(const ASMs2DSpec &patch, unsigned char n_f=0)
Copy constructor.
Definition ASMs2DSpec.h:32
virtual ~ASMs2DSpec()
Empty destructor.
Definition ASMs2DSpec.h:35
ASMs2DSpec(unsigned char n_s=2, unsigned char n_f=2)
Default constructor.
Definition ASMs2DSpec.h:29
virtual bool integrate(Integrand &integrand, GlobalIntegral &glbInt, const TimeDomain &time)
Evaluates an integral over the interior patch domain.
Definition ASMs2DSpec.C:81
virtual bool getGridParameters(RealArray &prm, int dir, int nSegSpan) const
Calculates parameter values for all visualization nodal points.
Definition ASMs2DSpec.C:28
virtual bool evalSolution(Matrix &sField, const IntegrandBase &integrand, const RealArray *, bool) const
Evaluates the secondary solution field at the nodal points.
Definition ASMs2DSpec.C:274
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